File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ dependencies {
53
53
54
54
def supportLibVersion = getExtOrInitialValue(' supportLibVersion' , getExtOrInitialValue(' supportVersion' , null ))
55
55
def androidXVersion = getExtOrInitialValue(' androidXVersion' , null )
56
- if (supportLibVersion && androidXVersion == null ) {
56
+ def androidXCore = getExtOrInitialValue(' androidXCore' , null )
57
+ if (supportLibVersion && androidXVersion == null && androidXCore == null ) {
57
58
implementation " com.android.support:appcompat-v7:$supportLibVersion "
58
59
} else {
59
60
def defaultAndroidXVersion = " 1.+"
60
- if (androidXVersion == null ) {
61
- androidXVersion = defaultAndroidXVersion
61
+ if (androidXCore == null ) {
62
+ androidXCore = androidXVersion == null ? defaultAndroidXVersion : androidXVersion
62
63
}
63
- def androidXCore = getExtOrInitialValue(' androidXCore' , androidXVersion)
64
64
implementation " androidx.core:core:$androidXCore "
65
65
}
66
66
}
You can’t perform that action at this time.
0 commit comments