Made JAR file executable
This commit is contained in:
parent
db3615b3c3
commit
61731441b3
|
@ -43,3 +43,14 @@ compileKotlin {
|
||||||
compileTestKotlin {
|
compileTestKotlin {
|
||||||
kotlinOptions.jvmTarget = '1.8'
|
kotlinOptions.jvmTarget = '1.8'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
manifest {
|
||||||
|
attributes 'Main-Class': 'com.rhubarb_lip_sync.rhubarb_for_spine.MainKt'
|
||||||
|
}
|
||||||
|
|
||||||
|
// This line of code recursively collects and copies all of a project's files
|
||||||
|
// and adds them to the JAR itself. One can extend this task, to skip certain
|
||||||
|
// files or particular types at will
|
||||||
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||||
|
}
|
Loading…
Reference in New Issue