Skip to content

Commit 5955f54

Browse files
docs(sample): Use Java 8 for native image sample (#893)
* fix(java): Use Java 8 for native image sample * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 8ca160e commit 5955f54

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-firestore'
5656
If you are using Gradle without BOM, add this to your dependencies
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-firestore:3.0.13'
59+
implementation 'com.google.cloud:google-cloud-firestore:3.0.14'
6060
```
6161

6262
If you are using SBT, add this to your dependencies
6363

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.0.13"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.0.14"
6666
```
6767

6868
## Authentication

samples/native-image-sample/pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
2020
</parent>
2121

2222
<properties>
23-
<maven.compiler.target>11</maven.compiler.target>
24-
<maven.compiler.source>11</maven.compiler.source>
23+
<!-- Java 8 because the Kokoro Sample test uses that Java version -->
24+
<maven.compiler.target>1.8</maven.compiler.target>
25+
<maven.compiler.source>1.8</maven.compiler.source>
2526
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2627
</properties>
2728

@@ -65,8 +66,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
6566
<configuration>
6667
<archive>
6768
<manifest>
68-
<mainClass>com.example.firestore.NativeImageFirestoreSample
69-
</mainClass>
69+
<mainClass>com.example.firestore.NativeImageFirestoreSample</mainClass>
7070
</manifest>
7171
</archive>
7272
</configuration>
@@ -118,8 +118,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
118118
<version>0.9.10</version>
119119
<extensions>true</extensions>
120120
<configuration>
121-
<mainClass>com.example.firestore.NativeImageFirestoreSample
122-
</mainClass>
121+
<mainClass>com.example.firestore.NativeImageFirestoreSample</mainClass>
123122
<buildArgs>
124123
<buildArg>--no-fallback</buildArg>
125124
<buildArg>--no-server</buildArg>

0 commit comments

Comments
 (0)