Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove jar in output apk
configurations {
provided
}
dependencies {
provided files('libs/xxxx.jar')
}
android.applicationVariants.all { variant ->
variant.javaCompile.classpath += configurations.provided
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment