Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update_generation_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# the branch into which the pull request is merged
base_branch: main
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
Expand Down
12 changes: 10 additions & 2 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ javadoc)
integration)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.32.1 \
-Penable-integration-tests \
-Djava.net.preferIPv4Stack=true \
-DtrimStackTrace=false \
Expand All @@ -107,6 +108,7 @@ integration)
integration-directpath-enabled)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.32.1 \
-Penable-integration-tests \
-Djava.net.preferIPv4Stack=true \
-DtrimStackTrace=false \
Expand All @@ -122,6 +124,7 @@ integration-directpath-enabled)
integration-multiplexed-sessions-enabled)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.32.1 \
-Penable-integration-tests \
-Djava.net.preferIPv4Stack=true \
-DtrimStackTrace=false \
Expand All @@ -137,6 +140,7 @@ integration-multiplexed-sessions-enabled)
integration-cloud-devel)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.32.1 \
-Penable-integration-tests \
-Djava.net.preferIPv4Stack=true \
-DtrimStackTrace=false \
Expand All @@ -153,6 +157,7 @@ integration-cloud-devel)
integration-cloud-devel-directpath-enabled)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.32.1 \
-Penable-integration-tests \
-Djava.net.preferIPv4Stack=true \
-DtrimStackTrace=false \
Expand All @@ -169,6 +174,7 @@ integration-cloud-devel-directpath-enabled)
integration-cloud-staging|integration-cloud-staging-directpath-enabled)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.32.1 \
-Penable-integration-tests \
-Djava.net.preferIPv4Stack=true \
-DtrimStackTrace=false \
Expand All @@ -184,12 +190,14 @@ integration-cloud-staging|integration-cloud-staging-directpath-enabled)
;;
graalvm)
# Run Unit and Integration Tests with Native Image
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests \
-Dprotobuf.version=4.32.1
RETURN_CODE=$?
;;
graalvm17)
# Run Unit and Integration Tests with Native Image
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests \
-Dprotobuf.version=4.32.1
RETURN_CODE=$?
;;
slowtests)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.68.0</version>
<version>26.69.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-spanner'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-spanner:6.101.1'
implementation 'com.google.cloud:google-cloud-spanner:6.102.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.101.1"
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.102.0"
```

## Authentication
Expand Down Expand Up @@ -731,7 +731,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-spanner/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.101.1
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.102.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down