Skip to content

Commit

Permalink
Use org.jboss.spec.javax.annotation from core in place of javax.annot…
Browse files Browse the repository at this point in the history
…ation (#397) (#398)

* Add SHA update for PA-Commons to gradle.yml

Signed-off-by: Khushboo Rajput <khushbr@amazon.com>

* Use org.jboss.spec.javax.annotation from core in place of javax.annotation

Signed-off-by: Khushboo Rajput <khushbr@amazon.com>

---------

Signed-off-by: Khushboo Rajput <khushbr@amazon.com>
(cherry picked from commit 066509d)

Co-authored-by: Khushboo Rajput <59671881+khushbr@users.noreply.github.com>
  • Loading branch information
opensearch-trigger-bot[bot] and khushbr committed May 31, 2023
1 parent e8d9fe8 commit fd9ab0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ dependencies {
def log4jVersion = "${versions.log4j}"
def protobufVersion = "${versions.protobuf}"
def guavaVersion = "${versions.guava}"
def jbossVersion = "${versions.jboss_annotation}"

implementation 'org.jooq:jooq:3.10.8'
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
Expand All @@ -362,7 +363,7 @@ dependencies {
force = 'true'
}
implementation 'io.grpc:grpc-stub:1.52.1'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation "org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:${jbossVersion}"

// JDK9+ has to run powermock 2+. https://github.com/powermock/powermock/issues/888
testImplementation group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.0'
Expand Down

0 comments on commit fd9ab0a

Please sign in to comment.