Skip to content

Commit 57cddee

Browse files
authored
feat!: update java compile to 1.8 (update google-cloud-shared-config … (#939)
* feat!: update java compile to 1.8 (update google-cloud-shared-config to v1, google-cloud-shared-dependencies to v2) * fix tests
1 parent 3ec05d4 commit 57cddee

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

google-cloud-bigtable-deps-bom/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<dependency>
6666
<groupId>com.google.cloud</groupId>
6767
<artifactId>google-cloud-shared-dependencies</artifactId>
68-
<version>1.4.0</version>
68+
<version>2.0.0</version>
6969
<type>pom</type>
7070
<scope>import</scope>
7171
</dependency>

google-cloud-bigtable/pom.xml

+12
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,23 @@
234234
<groupId>com.google.truth</groupId>
235235
<artifactId>truth</artifactId>
236236
<scope>test</scope>
237+
<exclusions>
238+
<exclusion>
239+
<groupId>org.checkerframework</groupId>
240+
<artifactId>checker-qual</artifactId>
241+
</exclusion>
242+
</exclusions>
237243
</dependency>
238244
<dependency>
239245
<groupId>com.google.truth.extensions</groupId>
240246
<artifactId>truth-proto-extension</artifactId>
241247
<scope>test</scope>
248+
<exclusions>
249+
<exclusion>
250+
<groupId>org.checkerframework</groupId>
251+
<artifactId>checker-qual</artifactId>
252+
</exclusion>
253+
</exclusions>
242254
</dependency>
243255
<dependency>
244256
<groupId>io.grpc</groupId>

google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BigtableDataClientFactoryTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void transportTerminated(Attributes transportAttrs) {
129129
Mockito.mock(
130130
ExecutorProvider.class,
131131
new BuilderAnswer<>(
132-
ExecutorProvider.class, builder.stubSettings().getExecutorProvider()));
132+
ExecutorProvider.class, builder.stubSettings().getBackgroundExecutorProvider()));
133133

134134
watchdogProvider =
135135
Mockito.mock(

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>com.google.cloud</groupId>
1616
<artifactId>google-cloud-shared-config</artifactId>
17-
<version>0.13.1</version>
17+
<version>1.0.0</version>
1818
</parent>
1919

2020
<developers>

0 commit comments

Comments
 (0)