added jar config
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -7,6 +7,16 @@ apply plugin: 'application'
|
|||||||
sourceCompatibility = 1.6
|
sourceCompatibility = 1.6
|
||||||
mainClassName = "net.headlezz.resdiff.ResdiffPackage"
|
mainClassName = "net.headlezz.resdiff.ResdiffPackage"
|
||||||
|
|
||||||
|
jar {
|
||||||
|
manifest {
|
||||||
|
attributes "Main-Class": "$mainClassName"
|
||||||
|
}
|
||||||
|
|
||||||
|
from {
|
||||||
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
Reference in New Issue
Block a user