Commit 5a40d581 authored by Aaron Coburn's avatar Aaron Coburn
Browse files

Update build configuration

parent 82cd142d
......@@ -251,6 +251,22 @@ subprojects { subproj ->
options.addBooleanOption('html5', true)
}
}
task docs(type: Javadoc) {
outputs.upToDateWhen { false }
source subprojects.collect {project -> project.sourceSets.main.allJava }
classpath = files(subprojects.collect {project -> project.sourceSets.main.compileClasspath})
destinationDir = new File(projectDir, "docs/${version}")
options {
links "http://docs.oracle.com/javase/8/docs/api/"
links "http://camel.apache.org/maven/current/camel-core/apidocs/"
links "http://marmotta.apache.org/apidocs/"
links "https://jena.apache.org/documentation/javadoc/jena/"
}
}
afterReleaseBuild.dependsOn docs
afterReleaseBuild.dependsOn publish
}
// Ignore alpha, beta, milestone and release candidates
......@@ -267,19 +283,3 @@ dependencyUpdates.resolutionStrategy = {
}
}
task docs(type: Javadoc) {
outputs.upToDateWhen { false }
source subprojects.collect {project -> project.sourceSets.main.allJava }
classpath = files(subprojects.collect {project -> project.sourceSets.main.compileClasspath})
destinationDir = new File(projectDir, "docs/${version}")
options {
links "http://docs.oracle.com/javase/8/docs/api/"
links "http://camel.apache.org/maven/current/camel-core/apidocs/"
links "http://marmotta.apache.org/apidocs/"
links "https://jena.apache.org/documentation/javadoc/jena/"
}
}
afterReleaseBuild.dependsOn docs
afterReleaseBuild.dependsOn publish
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment