I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit bccf5e09 authored by str4d's avatar str4d
Browse files

Bundle I2P libs in client AAR

parent 6bd905a0
No related branches found
No related tags found
No related merge requests found
...@@ -22,3 +22,14 @@ android { ...@@ -22,3 +22,14 @@ android {
dependencies { dependencies {
compile project(path: ':routerjars', configuration: 'client') compile project(path: ':routerjars', configuration: 'client')
} }
android.libraryVariants.all { variant ->
def copyClientLibsTask = tasks.create(name: "copy${variant.name.capitalize()}ClientLibs", type: Copy) {
from project(':routerjars').configurations.client.allArtifacts.collect { artifact ->
artifact.file
}
destinationDir file("${buildDir}/intermediates/bundles/${variant.dirName}/libs")
}
variant.packageLibrary.dependsOn copyClientLibsTask
copyClientLibsTask.mustRunAfter ':routerjars:buildClient'
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment