altered the build file since copying wasnt require after all

This commit is contained in:
Azanor committed 2014-04-07 12:06:40 +02:00
1 parent c3eeee0291
commit bc1a910efd
1 file changed
+1 -9
+1 -9
View File
@@ -1,5 +1,3 @@
defaultTasks 'build', 'copyFile'
buildscript {
repositories {
mavenCentral()
@@ -48,7 +46,7 @@ processResources
// Create deobf dev jars
task deobfJar(type: Jar) {
from(sourceSets.main.output) {
classifier = 'deobf'
appendix = 'deobf'
}
}
@@ -60,12 +58,6 @@ task apiZip(type: Zip) {
classifier = 'api'
}
task copyFile(type: Copy) {
from "build/libs"
into "build/distributions"
rename '(.*)-(.*)-(.*)-deobf.jar', '$1-deobf-$2-$3.jar'
}
apiZip.mustRunAfter deobfJar