Skip to content

Commit a39caf5

Browse files
authored
Fix the developer surface for API dependencies. (#536)
We should expose various transitive dependencies to dependants since they're part of the developer surface. Without this users will need to manually redeclare these dependencies to use parts of the library. Change-Id: I5867e38545ee0c58964717452f28cd64ecd71a40
1 parent f7179ef commit a39caf5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

buildSrc/src/main/groovy/com.google.api-ads.java-conventions.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ tasks.withType(JavaCompile) {
148148
}
149149

150150
dependencies {
151+
api 'com.google.api:gax'
152+
api 'com.google.api:gax-grpc'
153+
api 'com.google.protobuf:protobuf-java'
154+
api 'io.grpc:grpc-stub'
155+
api 'io.grpc:grpc-protobuf'
156+
api 'com.google.auth:google-auth-library-oauth2-http'
151157
implementation platform('com.google.cloud:google-cloud-shared-dependencies:2.4.0')
152158
implementation 'com.google.guava:guava:30.0-android'
153159
implementation 'com.google.auto.service:auto-service:1.0-rc2'
154-
implementation 'com.google.api:gax'
155-
implementation 'com.google.api:gax-grpc'
156-
implementation 'com.google.protobuf:protobuf-java'
157-
implementation 'io.grpc:grpc-stub'
158-
implementation 'io.grpc:grpc-protobuf'
159-
implementation 'com.google.auth:google-auth-library-oauth2-http'
160160
annotationProcessor 'com.google.auto.service:auto-service:1.0-rc2'
161161
testImplementation 'junit:junit:4.13.1'
162162
}

0 commit comments

Comments
 (0)