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

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -