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

Add application plugin to allow gradle run

parent 0b679b88
Branches
Tags
No related merge requests found
Pipeline #145584 passed
plugins { plugins {
id "application"
id 'java-library' id 'java-library'
id 'eclipse' id 'eclipse'
id 'maven-publish' id 'maven-publish'
...@@ -44,10 +45,14 @@ java { ...@@ -44,10 +45,14 @@ java {
withJavadocJar() withJavadocJar()
} }
application {
mainClass = "de.tla2b.TLA2B"
}
jar { jar {
manifest { manifest {
attributes([ attributes([
"Main-Class": "de.tla2b.TLA2B", "Main-Class": application.mainClass,
]) ])
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment