Skip to content

Commit

Permalink
Replace deprecated javax.annotation-api
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Miś <foss@patrykmis.com>
  • Loading branch information
PatrykMis committed May 29, 2024
1 parent 650271a commit de79da2
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 2,276 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import com.google.android.accessibility.braille.interfaces.BrailleCharacter;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.annotation.Nullable;
import jakarta.annotation.Nullable;

/**
* The result produced by a {@link BrailleInputPlane} commission.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.List;
import javax.annotation.Nullable;
import jakarta.annotation.Nullable;

/**
* The result produced by a {@link MultitouchHandler} commission.
Expand Down
2,266 changes: 0 additions & 2,266 deletions gradle/verification-metadata.xml

This file was deleted.

4 changes: 2 additions & 2 deletions shared.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {

// Support library
implementation 'androidx.annotation:annotation:1.8.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.browser:browser:1.8.0'
implementation 'androidx.collection:collection:1.4.0'
implementation 'androidx.core:core:1.13.1'
Expand All @@ -59,5 +59,5 @@ dependencies {
// Auto-value
implementation 'com.google.auto.value:auto-value-annotations:1.10.4'
annotationProcessor 'com.google.auto.value:auto-value:1.10.4'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'jakarta.annotation:jakarta.annotation-api:1.3.5'
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package com.google.android.accessibility.talkback;

import javax.annotation.Generated;
import jakarta.annotation.Generated;

// This file is normally auto-generated using the @AutoValue processor. But
// that operation has been failing on the gradle-based build, so this file is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package com.google.android.accessibility.talkback;

import javax.annotation.Generated;
import jakarta.annotation.Generated;

// This file is normally auto-generated using the @AutoValue processor. But
// that operation has been failing on the gradle-based build, so this file is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.google.android.accessibility.talkback;

import android.content.res.Configuration;
import javax.annotation.Generated;
import jakarta.annotation.Generated;
import org.checkerframework.checker.nullness.qual.Nullable;

// This file is normally auto-generated using the @AutoValue processor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import com.google.android.accessibility.utils.input.CursorGranularity;
import com.google.android.accessibility.utils.monitor.InputModeTracker;
import com.google.android.accessibility.utils.traversal.TraversalStrategy;
import javax.annotation.Generated;
import jakarta.annotation.Generated;
import org.checkerframework.checker.nullness.qual.Nullable;

// This file is normally auto-generated using the @AutoValue processor. But
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.android.accessibility.talkback;

import android.graphics.Region;
import javax.annotation.Generated;
import jakarta.annotation.Generated;

// This file is normally auto-generated using the @AutoValue processor. But
// that operation has been failing on the gradle-based build, so this file is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import com.google.android.accessibility.utils.AccessibilityNode;
import com.google.android.accessibility.utils.input.ScrollEventInterpreter.ScrollTimeout;
import com.google.android.accessibility.utils.output.ScrollActionRecord;
import javax.annotation.Generated;
import jakarta.annotation.Generated;
import org.checkerframework.checker.nullness.qual.Nullable;

// This file is normally auto-generated using the @AutoValue processor. But
Expand Down

0 comments on commit de79da2

Please sign in to comment.