Skip to content

Commit

Permalink
chore: copy config to .github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Mar 13, 2024
1 parent 60cb67f commit ea564ff
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
86 changes: 86 additions & 0 deletions .github/workflows/dependencies.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# This file is shared between gradle and bazel build scripts and exists to keep the dependencies
# configuration between the two build systems in sync.

# The properties format is the following:
# <dependency_type>.<artifact_name>=<value>

# Target workspace name: com_google_api_gax_java

# Versions of oneself
# {x-version-update-start:gax:current}
version.gax=2.45.1-SNAPSHOT
# {x-version-update-end}
# {x-version-update-start:gax:current}
version.gax_grpc=2.45.1-SNAPSHOT
# {x-version-update-end}
# {x-version-update-start:gax:current}
version.gax_bom=2.45.1-SNAPSHOT
# {x-version-update-end}
# {x-version-update-start:gax:current}
version.gax_httpjson=2.45.1-SNAPSHOT
# {x-version-update-end}

# 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.
# The protobuf version is only used for generating gradle files for showcase module,
# not for self-service clients (from googleapis project).

version.com_google_protobuf=3.25.2
version.google_java_format=1.15.0
version.io_grpc=1.62.2

# 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.34.0
maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.34.0
maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.23.0
maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.23.0
maven.io_opencensus_opencensus_api=io.opencensus:opencensus-api:0.31.1
maven.io_opencensus_opencensus_contrib_grpc_metrics=io.opencensus:opencensus-contrib-grpc-metrics:0.31.1
maven.io_opencensus_opencensus_contrib_http_util=io.opencensus:opencensus-contrib-http-util:0.31.1
maven.io_netty_netty_tcnative_boringssl_static=io.netty:netty-tcnative-boringssl-static:2.0.63.Final
maven.io_netty_netty_handler=io.netty:netty-handler:4.1.107.Final
maven.io_netty_netty_common=io.netty:netty-common:4.1.107.Final
maven.io_netty_netty_codec_socks=io.netty:netty-codec-socks:4.1.107.Final
maven.io_netty_netty_codec_http2=io.netty:netty-codec-http2:4.1.107.Final
maven.io_netty_netty_codec_http=io.netty:netty-codec-http:4.1.107.Final
maven.io_netty_netty_codec=io.netty:netty-codec:4.1.107.Final
maven.io_netty_netty_buffer=io.netty:netty-buffer:4.1.107.Final
maven.io_netty_netty_resolver=io.netty:netty-resolver:4.1.107.Final
maven.io_netty_netty_transport=io.netty:netty-transport:4.1.107.Final
maven.io_netty_netty_handler_proxy=io.netty:netty-handler-proxy:4.1.107.Final
maven.io_netty_netty_transport_native_unix_common=io.netty:netty-transport-native-unix-common:4.1.107.Final
maven.io_perfmark_perfmark_api=io.perfmark:perfmark-api:0.27.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.10.1
maven.com_google_guava_guava=com.google.guava:guava:32.1.3-jre
maven.com_google_guava_failureaccess=com.google.guava:failureaccess:1.0.2
maven.org_apache_commons_commons_lang3=org.apache.commons:commons-lang3:3.14.0
maven.com_google_android_annotations=com.google.android:annotations:4.1.1.4
maven.com_google_code_findbugs_jsr305=com.google.code.findbugs:jsr305:3.0.2
maven.com_google_errorprone_error_prone_annotations=com.google.errorprone:error_prone_annotations:2.24.1
maven.com_google_j2objc_j2objc_annotations=com.google.j2objc:j2objc-annotations:2.8
maven.com_google_auto_value_auto_value=com.google.auto.value:auto-value:1.10.4
maven.com_google_auto_value_auto_value_annotations=com.google.auto.value:auto-value-annotations:1.10.4
maven.com_google_api_api_common=com.google.api:api-common:2.26.0
maven.org_threeten_threetenbp=org.threeten:threetenbp:1.6.8
maven.com_google_api_grpc_grpc_google_iam_v1=com.google.api.grpc:grpc-google-iam-v1:1.29.0
maven.com_google_api_grpc_proto_google_iam_v1=com.google.api.grpc:proto-google-iam-v1:1.29.0
maven.com_google_http_client_google_http_client=com.google.http-client:google-http-client:1.44.1
maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.44.1
maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.23
maven.javax_annotation_javax_annotation_api=javax.annotation:javax.annotation-api:1.3.2
maven.org_graalvm_sdk=org.graalvm.sdk:graal-sdk:22.3.5

# Testing maven artifacts
maven.junit_junit=junit:junit:4.13.2
maven.org_mockito_mockito_core=org.mockito:mockito-core:2.28.2
maven.org_hamcrest_hamcrest_core=org.hamcrest:hamcrest-core:1.3
maven.com_google_truth_truth=com.google.truth:truth:1.4.2
maven.com_googlecode_java_diff_utils_diffutils=com.googlecode.java-diff-utils:diffutils:1.3.0
maven.net_bytebuddy_byte_buddy=net.bytebuddy:byte-buddy:1.14.11
maven.org_objenesis_objenesis=org.objenesis:objenesis:2.6
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@
],
"depNameTemplate": "com.google.cloud:google-cloud-shared-config",
"datasourceTemplate": "maven"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/dependencies\\.properties$"
],
"matchStrings": [
"version\\.com_google_protobuf=(?<currentValue>.+?)\\n"
],
"depNameTemplate": "com.google.protobuf:protobuf-java",
"datasourceTemplate": "maven"
}
],
"packageRules": [
Expand Down

0 comments on commit ea564ff

Please sign in to comment.