Add javadoc

This commit is contained in:
Nex
2018-09-14 10:15:36 +08:00
parent 201a59964f
commit 511c53c3d1
3 changed files with 124 additions and 6 deletions

View File

@@ -19,6 +19,20 @@ sourceCompatibility = 1.8
def grpc_java_version = '1.14.0'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compile
options {
encoding 'UTF-8'
charSet 'UTF-8'
title "BDChain Java SDK API"
}
}
protobuf {
protoc {
artifact = "com.google.protobuf:protoc:3.6.0"