@@ -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
7270java {
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.
7884javadoc { options. addStringOption(' Xdoclint:none' , ' -quiet' ) }
7985
80- def grpcVersion = " 1.65.1 "
81- def protocVersion = " 3.25.3 "
86+ def grpcVersion = " 1.66.0 "
87+ def protocVersion = " 4.27.4 "
8288def authzedProtoCommit = " v1.35.0"
8389def bufDir = " ${ buildDir} /buf"
8490def protocPlatformTag = project. findProperty(' protoc_platform' ) ? " :${ protoc_platform} " : " "
@@ -91,6 +97,7 @@ sourceSets { main {
9197
9298dependencies {
9399 implementation " io.grpc:grpc-protobuf:${ grpcVersion} "
100+ implementation " com.google.protobuf:protobuf-java:${ protocVersion} "
94101 implementation " io.grpc:grpc-stub:${ grpcVersion} "
95102 runtimeOnly " io.grpc:grpc-netty-shaded:${ grpcVersion} "
96103 compileOnly " org.apache.tomcat:annotations-api:6.0.53"
@@ -139,6 +146,7 @@ configurations {
139146 intTestRuntimeOnly. extendsFrom runtimeOnly
140147}
141148
149+ // Test things
142150dependencies {
143151 intTestImplementation " junit:junit:4.13.2"
144152}
0 commit comments