blob: 26cf7e53b68a938708efc5fdbb82395f1745769c [file] [log] [blame]
compileJava.options.release = javaVersion.toInteger()
java {
withSourcesJar()
withJavadocJar()
}
tasks.named('javadocJar', Jar).configure {
dependsOn tasks.groovydoc
duplicatesStrategy = DuplicatesStrategy.INCLUDE
from tasks.groovydoc.outputs
}