build.gradle copies AAR files to libs/
This commit is contained in:
parent
cc0197964f
commit
59d29bd2a4
@ -117,4 +117,16 @@ assemble.doLast
|
|||||||
// Remove empty directory
|
// Remove empty directory
|
||||||
delete "${rootDir}/libs/debug/obj"
|
delete "${rootDir}/libs/debug/obj"
|
||||||
delete "${rootDir}/libs/release/obj"
|
delete "${rootDir}/libs/release/obj"
|
||||||
|
|
||||||
|
// Copy AAR files. Notice that the aar is named after the folder of this script.
|
||||||
|
copy {
|
||||||
|
from "build/outputs/aar/support-release.aar"
|
||||||
|
into "${rootDir}/libs"
|
||||||
|
rename "support-release.aar", "fmt-release.aar"
|
||||||
|
}
|
||||||
|
copy {
|
||||||
|
from "build/outputs/aar/support-debug.aar"
|
||||||
|
into "${rootDir}/libs"
|
||||||
|
rename "support-debug.aar", "fmt-debug.aar"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user