diff --git a/.kokoro/downstream-client-library-check.sh b/.kokoro/downstream-client-library-check.sh index 7916e1c08..ab5ee8286 100755 --- a/.kokoro/downstream-client-library-check.sh +++ b/.kokoro/downstream-client-library-check.sh @@ -94,4 +94,10 @@ git diff echo # This reads the JOB_TYPE environmental variable ("test" or "graalvm") -.kokoro/build.sh +mvn install -B -V -ntp \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C diff --git a/build.gradle b/build.gradle index f16c38837..c262d5d31 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ plugins { id 'com.github.johnrengelman.shadow' version '7.1.2' apply false id 'com.github.sherter.google-java-format' version '0.9' apply false - id 'org.sonarqube' version '3.3' + id 'org.sonarqube' version '3.4.0.2513' } // TODO: Populate this from dependencies.properties version property (for proper Gradle-Bazel sync) diff --git a/dependencies.properties b/dependencies.properties index 73867e176..cf064c948 100644 --- a/dependencies.properties +++ b/dependencies.properties @@ -23,33 +23,34 @@ version.gax_httpjson=0.103.2-SNAPSHOT # Versions for dependencies which actual artifacts differ between Bazel and Gradle. # Gradle build depends on prebuilt maven artifacts, while Bazel build depends on Bazel workspaces # with the sources. -version.com_google_protobuf=3.19.4 +version.com_google_protobuf=3.21.1 version.google_java_format=1.1 -version.io_grpc=1.46.0 +version.io_grpc=1.47.0 # Maven artifacts. # Note, the actual name of each property matters (bazel build scripts depend on it). # It should be constructed the following way: # 1) Take full artifact id (including the group and classifier (if any) portions) and remove version portion. # 2) Replace all characters which are neither alphabetic nor digits with the underscore ('_') character -maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:2.8.3 -maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.8.3 -maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.6.0 -maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.6.0 +maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:2.9.0 +maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.9.0 +maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.7.0 +maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.7.0 maven.io_opencensus_opencensus_api=io.opencensus:opencensus-api:0.28.0 maven.io_opencensus_opencensus_contrib_grpc_metrics=io.opencensus:opencensus-contrib-grpc-metrics:0.28.0 maven.io_opencensus_opencensus_contrib_http_util=io.opencensus:opencensus-contrib-http-util:0.28.0 -maven.io_netty_netty_tcnative_boringssl_static=io.netty:netty-tcnative-boringssl-static:2.0.36.Final -maven.io_netty_netty_handler=io.netty:netty-handler:4.1.52.Final -maven.io_netty_netty_common=io.netty:netty-common:4.1.52.Final -maven.io_netty_netty_codec_socks=io.netty:netty-codec-socks:4.1.52.Final -maven.io_netty_netty_codec_http2=io.netty:netty-codec-http2:4.1.52.Final -maven.io_netty_netty_codec_http=io.netty:netty-codec-http:4.1.52.Final -maven.io_netty_netty_codec=io.netty:netty-codec:4.1.52.Final -maven.io_netty_netty_buffer=io.netty:netty-buffer:4.1.52.Final -maven.io_netty_netty_resolver=io.netty:netty-resolver:4.1.52.Final -maven.io_netty_netty_transport=io.netty:netty-transport:4.1.52.Final -maven.io_netty_netty_handler_proxy=io.netty:netty-handler-proxy:4.1.52.Final +maven.io_netty_netty_tcnative_boringssl_static=io.netty:netty-tcnative-boringssl-static:2.0.46.Final +maven.io_netty_netty_handler=io.netty:netty-handler:4.1.72.Final +maven.io_netty_netty_common=io.netty:netty-common:4.1.72.Final +maven.io_netty_netty_codec_socks=io.netty:netty-codec-socks:4.1.72.Final +maven.io_netty_netty_codec_http2=io.netty:netty-codec-http2:4.1.72.Final +maven.io_netty_netty_codec_http=io.netty:netty-codec-http:4.1.72.Final +maven.io_netty_netty_codec=io.netty:netty-codec:4.1.72.Final +maven.io_netty_netty_buffer=io.netty:netty-buffer:4.1.72.Final +maven.io_netty_netty_resolver=io.netty:netty-resolver:4.1.72.Final +maven.io_netty_netty_transport=io.netty:netty-transport:4.1.72.Final +maven.io_netty_netty_handler_proxy=io.netty:netty-handler-proxy:4.1.72.Final +maven.io_netty_netty_transport_native_unix_common=io.netty:netty-transport-native-unix-common:4.1.72.Final maven.io_perfmark_perfmark_api=io.perfmark:perfmark-api:0.23.0 maven.org_apache_tomcat_annotations_api=org.apache.tomcat:annotations-api:6.0.53 maven.com_google_code_gson_gson=com.google.code.gson:gson:2.8.6 @@ -62,15 +63,15 @@ maven.com_google_errorprone_error_prone_annotations=com.google.errorprone:error_ maven.com_google_j2objc_j2objc_annotations=com.google.j2objc:j2objc-annotations:1.3 maven.com_google_auto_value_auto_value=com.google.auto.value:auto-value:1.9 maven.com_google_auto_value_auto_value_annotations=com.google.auto.value:auto-value-annotations:1.9 -maven.com_google_api_api_common=com.google.api:api-common:2.2.0 -maven.org_threeten_threetenbp=org.threeten:threetenbp:1.5.0 -maven.com_google_api_grpc_grpc_google_iam_v1=com.google.api.grpc:grpc-google-iam-v1:1.3.4 -maven.com_google_api_grpc_proto_google_iam_v1=com.google.api.grpc:proto-google-iam-v1:1.3.4 -maven.com_google_http_client_google_http_client=com.google.http-client:google-http-client:1.41.5 -maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.41.5 +maven.com_google_api_api_common=com.google.api:api-common:2.2.1 +maven.org_threeten_threetenbp=org.threeten:threetenbp:1.6.0 +maven.com_google_api_grpc_grpc_google_iam_v1=com.google.api.grpc:grpc-google-iam-v1:1.4.0 +maven.com_google_api_grpc_proto_google_iam_v1=com.google.api.grpc:proto-google-iam-v1:1.4.0 +maven.com_google_http_client_google_http_client=com.google.http-client:google-http-client:1.42.0 +maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.42.0 maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.18 maven.javax_annotation_javax_annotation_api=javax.annotation:javax.annotation-api:1.3.2 -maven.org_graalvm_sdk=org.graalvm.sdk:graal-sdk:22.1.0 +maven.org_graalvm_sdk=org.graalvm.sdk:graal-sdk:22.1.0.1 # Testing maven artifacts maven.junit_junit=junit:junit:4.13.2