-
Notifications
You must be signed in to change notification settings - Fork 107
GAX now declares google-auth-library-oauth2-http as runtime scope. Is this correct? #1534
Comments
I believe this is the commit that made the change. The Now, whether |
Thank you for the pointer. I found the corresponding explanation of Gradle's "implementation" mapped to Maven's "runtime" scope:
https://docs.gradle.org/current/userguide/publishing_maven.html |
@chanseokoh For the classes in However, I found Other artifacts?org_threeten_threetenbpThe artifact defines gax exposes it in its public API
gax-grpc uses it in its public API
gax-httpjson uses it in its public API gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonCallContext.java Line 247 in 0fe20f3
maven.com_google_api_api_commongax uses
gax-grpc uses it
gax-httpjson uses it gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonChannel.java Line 38 in 8d45d18
maven.io_opencensus_opencensus_apiIt doesn't appear in the API surfaces of gax, gax-grpc, and gax-httpjson. grpc-apigax-grpc uses it in public API gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/ResponseMetadataHandler.java Line 44 in 4b3f21b
grpc-auth, grpc-protobuf, grpc-netty-shaded, grpc-alts, grpc-stubThey are not in public API. guavagax-grpc uses gax-java/gax-grpc/src/main/java/com/google/longrunning/stub/OperationsStubSettings.java Line 353 in 68761a7
gax-httpjson uses it in public API Line 398 in 2d76bff
com_google_api_grpc_proto_google_common_protosgax-grpc uses gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcCallableFactory.java Line 184 in 763aafb
gax-httpjson uses gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/longrunning/stub/OperationsStub.java Line 54 in 2d76bff
com_google_protobufgax-httpjson uses gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ApiMessageHttpResponseParser.java Line 109 in 95ca348
com_google_protobuf_java_utilIt's not used as public API. com_google_code_gson_gsongax-httpjson uses gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/FieldMaskedSerializer.java Line 51 in 8f9d6ce
com_google_http_client_google_http_clientgax-httpjson uses gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ManagedHttpJsonChannel.java Line 170 in 8f48b70
com_google_http_client_google_http_client_gsonThis is not used in public API. |
Adding more artifacts to be declared as 'api' because they appear in public API surface. See the comment of the following issue for the analysis: googleapis#1534
* deps: declaring the latest auth library version * fix: declare API surface as api configuration Fix #1534 * fix: declare API surface's dependencies as 'api' Adding more artifacts to be declared as 'api' because they appear in public API surface. See the comment of the following issue for the analysis: #1534 * refactor: move java-library declaration to top-level build.gradle
* deps: declaring the latest auth library version * fix: declare API surface as api configuration Fix googleapis#1534 * fix: declare API surface's dependencies as 'api' Adding more artifacts to be declared as 'api' because they appear in public API surface. See the comment of the following issue for the analysis: googleapis#1534 * refactor: move java-library declaration to top-level build.gradle
* deps: declaring the latest auth library version * fix: declare API surface as api configuration Fix #1534 * fix: declare API surface's dependencies as 'api' Adding more artifacts to be declared as 'api' because they appear in public API surface. See the comment of the following issue for the analysis: #1534 * refactor: move java-library declaration to top-level build.gradle
googleapis/java-shared-dependencies@3e5ffe0#r730141975 a check failed because GAX recently changed the scope of the google-auth-library-oauth2-http as runtime.
This means the code that touches the class of google-auth-library-oauth2-http now have to declare google-auth-library-oauth2-http as dependency. (This is a good thing; If you use a class, then you should declare the dependency.)
Is there any other implications of changing the scope?
The text was updated successfully, but these errors were encountered: