From a3649b8a2794e3dab56d38c93deb2e76aeb97418 Mon Sep 17 00:00:00 2001
From: dgelessus <dgelessus@users.noreply.github.com>
Date: Thu, 27 Apr 2023 21:59:44 +0200
Subject: [PATCH] Remove custom createJar task

Nothing actively uses it. prob_prolog builds its own TLC4B uberjar.
---
 Makefile     |  8 --------
 build.gradle | 10 ----------
 2 files changed, 18 deletions(-)
 delete mode 100644 Makefile

diff --git a/Makefile b/Makefile
deleted file mode 100644
index edcdcde..0000000
--- a/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-.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 
diff --git a/build.gradle b/build.gradle
index b007bfa..99a9b62 100644
--- a/build.gradle
+++ b/build.gradle
@@ -100,16 +100,6 @@ task jacocoIntegrationTestReport(type: JacocoReport) {
 	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 {
 	publications {
 		mavenJava(MavenPublication) {
-- 
GitLab