Skip to content
Snippets Groups Projects
Commit 5fd3c136 authored by Jens Bendisposto's avatar Jens Bendisposto
Browse files

Update build.gradle

parent 47aaa8a3
No related branches found
No related tags found
No related merge requests found
...@@ -80,28 +80,6 @@ task jacocoIntegrationTestReport(type: JacocoReport) { ...@@ -80,28 +80,6 @@ task jacocoIntegrationTestReport(type: JacocoReport) {
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec") executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")
} }
task createJar(type: Jar, dependsOn: build){
archiveName = 'TLC4B.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 {
attributes "Main-Class" : 'de.tlc4b.TLC4B'
}
}
task tlc4b(dependsOn: createJar) << {
copy {
from('build/libs/')
into('.')
include('TLC4B.jar')
//include('tlc4b-'+project.version+'.jar')
//rename('tlc4b-(.+)', 'TLC4B.jar')
}
}
tasks.withType(FindBugs) { 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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment