|
|
|
@ -352,14 +352,14 @@ project(':core') {
@@ -352,14 +352,14 @@ project(':core') {
|
|
|
|
|
|
|
|
|
|
task genProtocolErrorDocs(type: JavaExec) { |
|
|
|
|
classpath = sourceSets.main.runtimeClasspath |
|
|
|
|
main = 'org.apache.kafka.common.protocol.Protocol' |
|
|
|
|
main = 'org.apache.kafka.common.protocol.Errors' |
|
|
|
|
if( !generatedDocsDir.exists() ) { generatedDocsDir.mkdirs() } |
|
|
|
|
standardOutput = new File(generatedDocsDir, "protocol_errors.html").newOutputStream() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
task genProtocolApiKeyDocs(type: JavaExec) { |
|
|
|
|
classpath = sourceSets.main.runtimeClasspath |
|
|
|
|
main = 'org.apache.kafka.common.protocol.Protocol' |
|
|
|
|
main = 'org.apache.kafka.common.protocol.ApiKeys' |
|
|
|
|
if( !generatedDocsDir.exists() ) { generatedDocsDir.mkdirs() } |
|
|
|
|
standardOutput = new File(generatedDocsDir, "protocol_api_keys.html").newOutputStream() |
|
|
|
|
} |
|
|
|
@ -752,7 +752,7 @@ project(':connect:runtime') {
@@ -752,7 +752,7 @@ project(':connect:runtime') {
|
|
|
|
|
dependsOn copyDependantLibs |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
tasks.create(name: "genConnectConfigDocs", dependsOn:jar, type: JavaExec) { |
|
|
|
|
task genConnectConfigDocs(type: JavaExec) { |
|
|
|
|
classpath = sourceSets.main.runtimeClasspath |
|
|
|
|
main = 'org.apache.kafka.connect.runtime.distributed.DistributedConfig' |
|
|
|
|
if( !generatedDocsDir.exists() ) { generatedDocsDir.mkdirs() } |
|
|
|
|