Rename class and jar
Change-Id: I62de7eb99d0ecb9cf54a09e9f61f9479c7be4434
diff --git a/app/build.gradle b/app/build.gradle
index e696365..489dee5 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -13,7 +13,7 @@
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
- id 'com.github.johnrengelman.shadow' version '7.1.2'
+ id 'com.github.johnrengelman.shadow' version '8.1.1'
}
@@ -43,7 +43,7 @@
application {
// Define the main class for the application.
- mainClass = 'de.ids_mannheim.korapxml2conllu.AppKt'
+ mainClass = 'de.ids_mannheim.korapxmltools.KorapXml2ConlluKt'
}
jar {
@@ -53,9 +53,13 @@
manifest.attributes(
'Class-Path': configurations.compileClasspath.collect { it.getName() }.join(' '),
- 'Main-Class': "de.ids_mannheim.korapxml2conllu.AppKt"
+ 'Main-Class': "de.ids_mannheim.korapxmltools.KorapXml2ConlluKt"
)
-
+ shadowJar {
+ archiveBaseName.set('korapxml2conllu')
+ archiveClassifier.set('')
+ archiveVersion.set('')
+ }
}