gradle configuration update #7
21
build.gradle
21
build.gradle
@ -56,24 +56,6 @@ task sourcesJar(type: Jar, dependsOn: classes) {
|
|||||||
|
|||||||
from sourceSets.main.allSource
|
from sourceSets.main.allSource
|
||||||
}
|
}
|
||||||
|
|
||||||
// create a javadoc file for publishing
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
from javadoc.destinationDir
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
from "LICENSE"
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
classifier = "javadoc"
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
}
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
// make the javadoc tool be more lenient when using Java 8
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
// this fixes the javadoc tool breaking on things like self-closed <br /> tags
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
// see https://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
if (JavaVersion.current().isJava8Compatible()) {
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
allprojects {
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
tasks.withType(Javadoc) {
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
options.addStringOption("Xdoclint:none", "-quiet")
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
}
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
}
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
}
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
jar {
|
jar {
|
||||||
from "LICENSE"
|
from "LICENSE"
|
||||||
}
|
}
|
||||||
@ -86,7 +68,6 @@ publishing {
|
|||||||
![]() Bad indentation Bad indentation
![]() Bad indentation Bad indentation
|
|||||||
artifact(jar) {
|
artifact(jar) {
|
||||||
builtBy remapJar
|
builtBy remapJar
|
||||||
}
|
}
|
||||||
artifact javadocJar
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
artifact(sourcesJar) {
|
artifact(sourcesJar) {
|
||||||
builtBy remapSourcesJar
|
builtBy remapSourcesJar
|
||||||
}
|
}
|
||||||
@ -99,5 +80,3 @@ publishing {
|
|||||||
![]() Bad indentation Bad indentation
![]() Bad indentation Bad indentation
|
|||||||
// mavenLocal()
|
// mavenLocal()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tasks.build.dependsOn javadocJar
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
|
|
||||||
![]() Bad indentation Bad indentation
|
|||||||
|
|||||||
![]() Bad indentation Bad indentation
![]() Bad indentation Bad indentation
|
Loading…
Reference in New Issue
Block a user
Bad indentation
Bad indentation