back_recharge
parent
50ee40a186
commit
f408616cc2
|
@ -47,10 +47,10 @@ task taskJar(type:Jar, dependsOn: compileJava) {
|
||||||
|
|
||||||
//删除lib中的jar
|
//删除lib中的jar
|
||||||
task clearJars(type:Delete){
|
task clearJars(type:Delete){
|
||||||
delete 'build/libs'
|
delete 'lib'
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyJars(type: Copy, dependsOn:clearJars) {
|
task copyJars(type: Copy, dependsOn:clearJars) {
|
||||||
from configurations.runtime
|
from configurations.runtime
|
||||||
into 'build/libs' // 目标位置
|
into 'lib' // 目标位置
|
||||||
}
|
}
|
Loading…
Reference in New Issue