Skip to content
Snippets Groups Projects
Commit a3649b8a authored by dgelessus's avatar dgelessus
Browse files

Remove custom createJar task

Nothing actively uses it. prob_prolog builds its own TLC4B uberjar.
parent 30382df0
Branches
Tags
No related merge requests found
.PHONY: build
build:
./gradlew createJar
.PHONY: install
install:
echo "installing to local probcli/lib folder:"
cp build/libs/tlc4b-1.0.*.jar ../../prob_prolog/lib/TLC4B.jar
...@@ -100,16 +100,6 @@ task jacocoIntegrationTestReport(type: JacocoReport) { ...@@ -100,16 +100,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){
archiveFileName = 'TLC4B.jar'
from sourceSets.main.output
from {configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
exclude('**/*.java')
manifest {
attributes "Main-Class" : 'de.tlc4b.TLC4B'
}
}
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment