Created
August 23, 2017 00:56
-
-
Save nocoo/aed76b5262d49a2f7de340505473bf34 to your computer and use it in GitHub Desktop.
Gradle to extract all dependencies as AAR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In project build.gradle: | |
task copyDeps(type: Copy) { | |
from (configurations.compile) { | |
include "*.jar","*.aar" | |
include ".so", ".dll" | |
} | |
into rootProject.rootDir.getAbsolutePath()+"/lib" | |
} | |
# In command line run: ./gradlew --refresh-dependencies --gradle-user-home "./lib" | |
# Find your AAR in "lib" folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment