Browse Source

MINOR: KAFKA-3361 follow up

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira

Closes #1037 from granthenke/protocol-minor
pull/1040/head
Grant Henke 9 years ago committed by Gwen Shapira
parent
commit
df41bc544a
  1. 6
      build.gradle

6
build.gradle

@ -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() }

Loading…
Cancel
Save