Commit 05c2c03d authored by dgelessus's avatar dgelessus
Browse files

Add Gradle application plugin

parent cfc26a09
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
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment