How to exclude internal library dependency and adding .arr file of the same library Or enforcing library to use by your app
configurations {
compile.exclude module: 'commons'
all*.exclude group: 'com.philips.platform.appinfra', module: 'reports'
}
compile.exclude module: 'commons'
all*.exclude group: 'com.philips.platform.appinfra', module: 'reports'
}
compile(name:'AppInfra-1.7.0', ext:'aar');
//UIKIT LIBRARY
compile(group: 'com.philips.cdp', name: 'uikitLib', version: "${uikitVersion}", ext: 'aar') {
exclude group: 'com.android.support'
transitive = true
exclude module: 'shared'
transitive = true
}
//REGISTRATION LIBRARY
compile(group: 'com.philips.cdp', name: 'registrationApi', version: "${registrationVer}", ext: 'aar') {
exclude group: 'com.android.support'
exclude group: 'com.google.android', module: 'android'
exclude module: 'AppInfra'
transitive = true
}
Comments
Post a Comment