Cleanup
This commit is contained in:
parent
bae6497368
commit
3cb4b20a3d
1 changed files with 4 additions and 9 deletions
13
build.gradle
13
build.gradle
|
@ -71,14 +71,14 @@ bintray {
|
||||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||||
group = 'Build'
|
group = 'Build'
|
||||||
description = 'Builds an archive of the javadoc docs.'
|
description = 'Builds an archive of the javadoc docs.'
|
||||||
classifier = 'javadoc'
|
archiveClassifier = 'javadoc'
|
||||||
from javadoc.destinationDir
|
from javadoc.destinationDir
|
||||||
}
|
}
|
||||||
|
|
||||||
task sourceJar(type: Jar) {
|
task sourceJar(type: Jar) {
|
||||||
group = 'Build'
|
group = 'Build'
|
||||||
description = 'Builds an archive of the source code.'
|
description = 'Builds an archive of the source code.'
|
||||||
classifier = 'sources'
|
archiveClassifier = 'sources'
|
||||||
from sourceSets.main.allSource
|
from sourceSets.main.allSource
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,16 +151,11 @@ tasks.withType(SpotBugsTask) {
|
||||||
|
|
||||||
tasks.withType(Checkstyle) {
|
tasks.withType(Checkstyle) {
|
||||||
reports {
|
reports {
|
||||||
xml.enabled false
|
xml.enabled = false
|
||||||
html.enabled true
|
html.enabled = true
|
||||||
//html.stylesheet resources.text.fromFile('config/xsl/checkstyle-custom.xsl')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
checkstyle {
|
|
||||||
toolVersion "8.18"
|
|
||||||
}
|
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
options.compilerArgs.add('-proc:none')
|
options.compilerArgs.add('-proc:none')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue