Remove java file object

This commit is contained in:
Markus M. May 2018-02-01 21:25:37 +01:00
parent 6d8c0770c3
commit b7ec90ca07

View file

@ -240,14 +240,11 @@ task unzip(type: Copy) {
} }
task copyLibs(dependsOn: unzip, type: Copy) { task copyLibs(dependsOn: unzip, type: Copy) {
def outputDir = file("${buildDir}/unpacked/dist") def src = file("${buildDir}/unpacked/dist/danars-support-lib-master")
def src = file(new File(outputDir, "danars-support-lib-master"))
println src
def target = file("src/main/jniLibs/") def target = file("src/main/jniLibs/")
from src from src
into target into target
rename("danars-support-lib-master", "jniLibs")
} }
task full_clean(type: Delete) { task full_clean(type: Delete) {