Skip to content

Commit 7e90445

Browse files
committed
Fix build failures, add comments
1 parent 6261af5 commit 7e90445

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,25 @@ signing {
6666
sign publishing.publications.authzed
6767
}
6868

69-
sourceCompatibility = JavaVersion.VERSION_1_8
70-
targetCompatibility = JavaVersion.VERSION_1_8
7169

7270
java {
7371
withJavadocJar()
7472
withSourcesJar()
73+
sourceCompatibility = JavaVersion.VERSION_1_8
74+
targetCompatibility = JavaVersion.VERSION_1_8
75+
}
76+
77+
tasks.sourcesJar {
78+
// This is necessary to keep gradle from barking at you
79+
// about an implicit dependency between these two tasks.
80+
dependsOn tasks.compileJava
7581
}
7682

7783
// All it does is complain about generated code.
7884
javadoc { options.addStringOption('Xdoclint:none', '-quiet') }
7985

8086
def grpcVersion = "1.66.0"
81-
def protocVersion = "4.27.3"
87+
def protocVersion = "4.27.4"
8288
def authzedProtoCommit = "v1.35.0"
8389
def bufDir = "${buildDir}/buf"
8490
def protocPlatformTag = project.findProperty('protoc_platform') ? ":${protoc_platform}" : ""
@@ -140,6 +146,7 @@ configurations {
140146
intTestRuntimeOnly.extendsFrom runtimeOnly
141147
}
142148

149+
// Test things
143150
dependencies {
144151
intTestImplementation "junit:junit:4.13.2"
145152
}

0 commit comments

Comments
 (0)