gradle - copy release aar file after succeful build -
gradle - copy release aar file after succeful build -
when building aar file using gradle, how can re-create created release aar other directory ? (i not want alter default output dir re-create release file )
assuming not using flavors, , not changing aar name, can utilize next task:
task copyaar(type: copy) { from('build/outputs/aar') into('/path/to/desired/output/dir') include(project.name + '-release.aar') }
if changed aar name, replace 'project.name' name.
gradle android-gradle build.gradle aar
Comments
Post a Comment