Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created September 13, 2013 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shakalaca/6551508 to your computer and use it in GitHub Desktop.
Save shakalaca/6551508 to your computer and use it in GitHub Desktop.
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