Skip to content

Commit

Permalink
revert jakarta to implementation dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsessanchez committed Aug 14, 2023
1 parent 6ec5765 commit affabe0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 4 deletions.
4 changes: 1 addition & 3 deletions components/abstractions/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ dependencies {
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'

//This dependency is used internally and also by Kiota generated code which leverages this library.
api 'jakarta.annotation:jakarta.annotation-api:2.1.1'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:32.1.2-jre'
implementation 'org.javatuples:javatuples:1.2'
implementation 'io.opentelemetry:opentelemetry-api:1.28.0'
implementation 'io.opentelemetry:opentelemetry-context:1.28.0'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
}
1 change: 1 addition & 0 deletions components/authentication/azure/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
implementation 'io.opentelemetry:opentelemetry-api:1.28.0'
implementation 'io.opentelemetry:opentelemetry-context:1.28.0'
implementation 'com.google.guava:guava:32.1.2-jre'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.azure:azure-core:1.42.0'

api project(':components:abstractions')
Expand Down
1 change: 1 addition & 0 deletions components/http/okHttp/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies {
implementation 'io.opentelemetry:opentelemetry-context:1.28.0'
implementation 'io.opentelemetry:opentelemetry-semconv:1.28.0-alpha'
implementation 'com.google.guava:guava:32.1.2-jre'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
api 'com.squareup.okhttp3:okhttp:4.11.0'

api project(':components:abstractions')
Expand Down
1 change: 1 addition & 0 deletions components/serialization/form/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies {

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

api project(':components:abstractions')
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public PeriodAndDuration getWorkDuration() {
return _workDuration;
}

public void setWorkDuration(final PeriodAndDuration value) {
public void setWorkDuration(PeriodAndDuration value) {
this._workDuration = PeriodAndDuration.of(value.getPeriod(), value.getDuration());
}

Expand Down
1 change: 1 addition & 0 deletions components/serialization/json/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies {

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:32.1.2-jre'
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 @@ -8,6 +8,7 @@ dependencies {

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

api project(':components:abstractions')
testImplementation project(':components:serialization:json')
Expand Down
1 change: 1 addition & 0 deletions components/serialization/text/gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies {

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

api project(':components:abstractions')
}

0 comments on commit affabe0

Please sign in to comment.