android - Gradle: How to execute task after create lib.aar file? -
i have gradle task unbacks lib-debug.aar need execute task after crate lib-debug.aar file
task unzip<<{ copy { def aarfile = file("${builddir}/outputs/aar/lib-debug.aar") def outputdir = file("${builddir}/outputs/eclipse") ziptree(aarfile) outputdir }
you can do:
unzip.dependson assemble
that make whenever run unzip task, assemble task has have run before.
Comments
Post a Comment