Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 61f8bc7

Browse files
Bogdan Drutusongy23
authored andcommitted
Fix generating the javadoc. (#144)
1 parent 99162e4 commit 61f8bc7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ buildscript {
3434
maven { url "https://plugins.gradle.org/m2/" }
3535
}
3636
dependencies {
37-
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.5"
37+
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.6"
3838
}
3939
}
4040

@@ -50,6 +50,8 @@ dependencies {
5050
compile "com.google.protobuf:protobuf-java:${protobufVersion}",
5151
"io.grpc:grpc-protobuf:${grpcVersion}",
5252
"io.grpc:grpc-stub:${grpcVersion}"
53+
54+
compileOnly "javax.annotation:javax.annotation-api:1.2"
5355
}
5456

5557
protobuf {
@@ -96,6 +98,8 @@ signing {
9698
sign configurations.archives
9799
}
98100

101+
javadoc.source = "$projectDir/gen_gradle/src"
102+
99103
javadoc.options {
100104
encoding = 'UTF-8'
101105
links 'https://docs.oracle.com/javase/8/docs/api/'

0 commit comments

Comments
 (0)