From 7e90445c1d35cbfa9157cf8de33d5e87ece614f2 Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Wed, 4 Sep 2024 16:26:08 -0600 Subject: [PATCH] Fix build failures, add comments --- build.gradle | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 172fb086..b822d1e6 100644 --- a/build.gradle +++ b/build.gradle @@ -66,19 +66,25 @@ signing { sign publishing.publications.authzed } -sourceCompatibility = JavaVersion.VERSION_1_8 -targetCompatibility = JavaVersion.VERSION_1_8 java { withJavadocJar() withSourcesJar() + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + +tasks.sourcesJar { + // This is necessary to keep gradle from barking at you + // about an implicit dependency between these two tasks. + dependsOn tasks.compileJava } // All it does is complain about generated code. javadoc { options.addStringOption('Xdoclint:none', '-quiet') } def grpcVersion = "1.66.0" -def protocVersion = "4.27.3" +def protocVersion = "4.27.4" def authzedProtoCommit = "v1.35.0" def bufDir = "${buildDir}/buf" def protocPlatformTag = project.findProperty('protoc_platform') ? ":${protoc_platform}" : "" @@ -140,6 +146,7 @@ configurations { intTestRuntimeOnly.extendsFrom runtimeOnly } +// Test things dependencies { intTestImplementation "junit:junit:4.13.2" }