我正在尝试编写一个gradle脚本,我想忽略或从jar文件中排除某些模块或组.
我的代码:
dependencies {
compile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/test.jar')
}
Run Code Online (Sandbox Code Playgroud)
所以,从test.jar文件我想要排除'com.xyz.abc',但我不知道如何编写脚本.
请告诉我,建议我一些好的解决方案.