Skip to content

Commit

Permalink
Downgrade jakarta annotation api dependency for java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed May 7, 2024
1 parent be00d32 commit 8a5aa2c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ subprojects {

repositories {
mavenCentral()
}
}
4 changes: 2 additions & 2 deletions components/abstractions/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ dependencies {
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'io.github.std-uritemplate:std-uritemplate:0.0.57'
implementation 'io.opentelemetry:opentelemetry-api:1.37.0'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
}
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
}
2 changes: 1 addition & 1 deletion components/authentication/azure/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'io.opentelemetry:opentelemetry-api:1.37.0'
implementation 'io.opentelemetry:opentelemetry-context:1.37.0'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.azure:azure-core:1.49.0'

api project(':components:abstractions')
Expand Down
2 changes: 1 addition & 1 deletion components/http/okHttp/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'io.opentelemetry:opentelemetry-api:1.37.0'
implementation 'io.opentelemetry:opentelemetry-context:1.37.0'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.squareup.okhttp3:okhttp:4.12.0'

api project(':components:abstractions')
Expand Down
2 changes: 1 addition & 1 deletion components/serialization/form/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'

api project(':components:abstractions')
}
2 changes: 1 addition & 1 deletion components/serialization/json/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.google.code.gson:gson:2.10.1'

api project(':components:abstractions')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'

api project(':components:abstractions')
testImplementation project(':components:serialization:json')
Expand Down
2 changes: 1 addition & 1 deletion components/serialization/text/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'

api project(':components:abstractions')
}

0 comments on commit 8a5aa2c

Please sign in to comment.