Lets say I have an Android Studio project and JAR x.jar which I include in my build.gradle:
compile files('libs/x.jar')
How can I tell Gradle to not include the package xyz in the x.jar? Is there something like:
compile files('libs/x.jar'){
exclude: "xyz"
}
Or is this not possible for a jar which I can't build myself (and exclude the sources while building the jar)?