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