Library Dependencies force my build to use appcompat-v7:23.0.0
VansonLeung opened this issue · comments
VansonLeung commented
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abc:3.1.2'
Even though I used to implement 22.0.0 in my build.gradle, the fadisngactionbar library now overrides the settings to install 23.0.0 library, rendering my app unbuildable due to missing v-23 constants:
VansonLeung commented
android {
compileSdkVersion 21
buildToolsVersion '21.1.2'
defaultConfig {
applicationId "com.aimpact.android"
minSdkVersion 16
targetSdkVersion 16
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Jc Miñarro commented
You can do:
// FadingActionBar
compile ('com.github.manuelpeinado.fadingactionbar:fadingactionbar:3.1.2')
compile ('com.github.manuelpeinado.fadingactionbar:fadingactionbar-abc:3.1.2'){
exclude(module: 'support-v4')
exclude(module: 'appcompat-v7')
}
VansonLeung commented
Thanks!