We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85a7858 commit d6c3a4bCopy full SHA for d6c3a4b
1 file changed
android/build.gradle
@@ -46,7 +46,13 @@ dependencies {
46
47
compileOnly "com.facebook.react:react-native:+"
48
implementation "com.google.android.libraries.places:places:1.1.0"
49
- implementation "com.android.support:appcompat-v7:${supportLibVersion}"
50
- implementation "com.android.support:support-v4:${supportLibVersion}"
51
implementation "com.google.code.findbugs:jsr305:3.0.2"
+
+ if (rootProject.findProperty("android.useAndroidX")) {
52
+ implementation "androidx.appcompat:appcompat:1.0.2"
53
+ implementation "androidx.legacy:legacy-support-v4:1.0.0"
54
+ } else {
55
+ implementation "com.android.support:appcompat-v7:${supportLibVersion}"
56
+ implementation "com.android.support:support-v4:${supportLibVersion}"
57
+ }
58
}
0 commit comments