Skip to content

Commit 1b3558d

Browse files
committed
Dynamic compile targets
1 parent b89b7d2 commit 1b3558d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

android/build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:1.3.1'
8+
99
}
1010
}
1111

1212
apply plugin: 'com.android.library'
1313

1414
android {
15-
compileSdkVersion 23
16-
buildToolsVersion "23.0.1"
15+
compileSdkVersion rootProject.ext.compileSdkVersion
16+
buildToolsVersion rootProject.ext.buildToolsVersion
1717

1818
defaultConfig {
19-
minSdkVersion 16
20-
targetSdkVersion 22
19+
minSdkVersion rootProject.ext.minSdkVersion
20+
targetSdkVersion rootProject.ext.targetSdkVersion
2121
versionCode 1
2222
versionName "1.0"
2323
}
@@ -31,6 +31,6 @@ repositories {
3131
}
3232

3333
dependencies {
34-
compile 'com.facebook.react:react-native:+'
34+
implementation 'com.facebook.react:react-native:+'
3535
}
3636

0 commit comments

Comments
 (0)