Skip to content
Snippets Groups Projects
Commit 8af715e2 authored by hansen's avatar hansen
Browse files

update build.grade

parent 586669cb
No related branches found
No related tags found
No related merge requests found
......@@ -58,12 +58,10 @@ tasks.withType(FindBugs) {
// disable findbugs by default
// in order to run findbugs type 'gradle tlc4b findbugsMain findbugsTest'
task -> enabled = gradle.startParameter.taskNames.contains(task.name)
reports {
xml.enabled = false
html.enabled = true
}
ignoreFailures = true
}
......@@ -78,7 +76,6 @@ task createJar(type: Jar, dependsOn: build){
archiveName = 'TLA2B.jar'
//from sourceSets.main.allJava
from sourceSets.main.output
//from {configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
from {configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
exclude('**/*.java')
manifest {
......@@ -104,10 +101,10 @@ signing {
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
//task javadocJar(type: Jar) {
// classifier = 'javadoc'
// from javadoc
//}
task sourcesJar(type: Jar) {
classifier = 'sources'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment