Skip to content

Commit 452e52d

Browse files
committed
chore: fix gradle warnings
1 parent a01ad9e commit 452e52d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: "build"
22
on:
3-
push:
4-
branches:
5-
- "!dependabot/*"
6-
- "*"
73
pull_request:
84
branches:
95
- "*"

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99

1010
repositories {
1111
// The Google mirror is less flaky than mavenCentral()
12-
maven { url "https://maven-central.storage-download.googleapis.com/maven2/" }
12+
maven { url = "https://maven-central.storage-download.googleapis.com/maven2/" }
1313
mavenCentral()
1414
mavenLocal()
1515
}
@@ -73,14 +73,16 @@ signing {
7373
java {
7474
withJavadocJar()
7575
withSourcesJar()
76-
sourceCompatibility = JavaVersion.VERSION_1_8
77-
targetCompatibility = JavaVersion.VERSION_1_8
76+
sourceCompatibility = JavaVersion.VERSION_17
77+
targetCompatibility = JavaVersion.VERSION_17
7878
}
7979

8080
tasks.sourcesJar {
8181
// This is necessary to keep gradle from barking at you
8282
// about an implicit dependency between these two tasks.
8383
dependsOn tasks.compileJava
84+
dependsOn tasks.compileTestJava
85+
dependsOn tasks.generateTestProto
8486
}
8587

8688
// All it does is complain about generated code.

0 commit comments

Comments
 (0)