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 can we post XML strings along with text strings in iOS -

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

c# - cefsharp app remember password option -