Fix FileNotFoundException *.hmc when launching.

This commit is contained in:
huanghongxun
2015-06-26 18:55:36 +08:00
parent bee81fd6d9
commit 0df7479e64
12 changed files with 175 additions and 65 deletions

View File

@@ -90,7 +90,7 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: jar) {
configuration 'proguard.pro'
}
/*
task makeExecutable(dependsOn: jar) {
ext {
def re = jar.classifier
@@ -111,7 +111,7 @@ task makeExecutable(dependsOn: jar) {
fos.write(bytes, 0, read);
is.close()
fos.close()
}
}*/
launch4j {
launch4jCmd = 'D:\\Develop\\Java\\Launch4j\\launch4j.exe'
@@ -135,5 +135,5 @@ processResources {
}
}
//build.dependsOn proguard
build.dependsOn makeExecutable
build.dependsOn proguard
//build.dependsOn makeExecutable