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

Add Gradle application plugin

parent cfc26a09
Branches
No related tags found
No related merge requests found
apply plugin: 'application'
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'maven' apply plugin: 'maven'
...@@ -20,6 +21,8 @@ repositories { ...@@ -20,6 +21,8 @@ repositories {
jcenter() jcenter()
} }
mainClassName = "org.sablecc.sablecc.SableCC"
task javadocJar(type: Jar) { task javadocJar(type: Jar) {
classifier = 'javadoc' classifier = 'javadoc'
from javadoc from javadoc
...@@ -32,7 +35,7 @@ task sourcesJar(type: Jar) { ...@@ -32,7 +35,7 @@ task sourcesJar(type: Jar) {
jar { jar {
manifest { manifest {
attributes 'Main-Class': 'org.sablecc.sablecc.SableCC' attributes 'Main-Class': mainClassName
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment