|
|
@ -53,10 +53,6 @@ task preJar(type:Copy,dependsOn: guard ? 'compile_encrypt_javas' : 'compile_plai |
|
|
|
from "$projectDir/classes" |
|
|
|
from "$projectDir/classes" |
|
|
|
into "$projectDir/transform-classes" |
|
|
|
into "$projectDir/transform-classes" |
|
|
|
include "**/*.*" |
|
|
|
include "**/*.*" |
|
|
|
doLast(){ |
|
|
|
|
|
|
|
delete file("$projectDir/classes") |
|
|
|
|
|
|
|
delete file("$projectDir/transform-classes") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
jar.dependsOn("preJar") |
|
|
|
jar.dependsOn("preJar") |
|
|
|
|
|
|
|
|
|
|
@ -66,6 +62,11 @@ task makeJar(type: Jar,dependsOn: preJar){ |
|
|
|
appendix pluginName |
|
|
|
appendix pluginName |
|
|
|
version pluginVersion |
|
|
|
version pluginVersion |
|
|
|
destinationDir = file("$buildDir/libs") |
|
|
|
destinationDir = file("$buildDir/libs") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
doLast(){ |
|
|
|
|
|
|
|
delete file("$projectDir/classes") |
|
|
|
|
|
|
|
delete file("$projectDir/transform-classes") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
task copyFile(type: Copy,dependsOn: ["makeJar"]){ |
|
|
|
task copyFile(type: Copy,dependsOn: ["makeJar"]){ |
|
|
@ -78,7 +79,7 @@ task copyFile(type: Copy,dependsOn: ["makeJar"]){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
task zip(type:Zip,dependsOn:["copyFile"]){ |
|
|
|
task zip(type:Zip,dependsOn:["copyFile"]){ |
|
|
|
from "$buildDir/temp" |
|
|
|
from "$buildDir/temp/plugin" |
|
|
|
destinationDir file("$buildDir/install") |
|
|
|
destinationDir file("$buildDir/install") |
|
|
|
baseName pluginPre |
|
|
|
baseName pluginPre |
|
|
|
appendix pluginName |
|
|
|
appendix pluginName |
|
|
|