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

Add Gradle application plugin

parent cfc26a09
No related branches found
No related tags found
No related merge requests found
apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
......@@ -20,6 +21,8 @@ repositories {
jcenter()
}
mainClassName = "org.sablecc.sablecc.SableCC"
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
......@@ -32,7 +35,7 @@ task sourcesJar(type: Jar) {
jar {
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