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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -