File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ We recommend splitting your project into 2-3 separate modules.
62
62
<version >${grpc.version}</version >
63
63
</dependency >
64
64
<dependency >
65
- <!-- Java 9+ compatibility -->
65
+ <!-- Java 9+ compatibility - Do NOT update to 2.0.0 - ->
66
66
<groupId >jakarta.annotation</groupId >
67
67
<artifactId >jakarta.annotation-api</artifactId >
68
- <version >2.0.0</version >
68
+ <version >1.3.5</version >
69
+ <optional >true</optional >
69
70
</dependency >
70
71
</dependencies >
71
72
@@ -124,7 +125,7 @@ repositories {
124
125
dependencies {
125
126
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
126
127
implementation "io.grpc:grpc-stub:${grpcVersion}"
127
- implementation 'jakarta.annotation:jakarta.annotation-api:2.0.0 ' // Java 9+ compatibility
128
+ compileOnly 'jakarta.annotation:jakarta.annotation-api:1.3.5 ' // Java 9+ compatibility - Do NOT update to 2.0.0 (Compile only)
128
129
}
129
130
130
131
protobuf {
You can’t perform that action at this time.
0 commit comments