@@ -6,10 +6,14 @@ def safeExtGet(prop, fallback) {
66
77buildscript {
88 repositories {
9+ maven {
10+ url ' https://maven.google.com'
11+ name ' Google'
12+ }
913 jcenter()
1014 }
1115 dependencies {
12- classpath ' com.android.tools.build:gradle:2 .2.2 '
16+ classpath ' com.android.tools.build:gradle:3 .2.0 '
1317
1418 // NOTE: Do not place your application dependencies here; they belong
1519 // in the individual module build.gradle files
@@ -18,6 +22,10 @@ buildscript {
1822
1923allprojects {
2024 repositories {
25+ maven {
26+ url ' https://maven.google.com'
27+ name ' Google'
28+ }
2129 jcenter()
2230 maven { url " https://jitpack.io" }
2331 }
@@ -28,25 +36,15 @@ android {
2836 buildToolsVersion safeExtGet(' buildToolsVersion' , ' 25.0.0' )
2937
3038 defaultConfig {
31- minSdkVersion safeExtGet(' minSdkVersion' , 21 )
39+ minSdkVersion safeExtGet(' minSdkVersion' , 16 )
3240 targetSdkVersion safeExtGet(' targetSdkVersion' , 25 )
3341 versionCode 1
3442 versionName " 1.0"
3543 }
3644}
3745
38- repositories {
39- flatDir {
40- dirs ' libs'
41- }
42- }
43- configurations. all {
44- resolutionStrategy. cacheChangingModulesFor 0 , ' seconds'
45- }
46-
4746dependencies {
48- compile fileTree(dir : ' libs' , include : [' *.jar' ])
49- compile ' com.github.facebookincubator:Keyframes:eaa06f6f01'
50- compile ' com.android.support:appcompat-v7:25.0.1'
51- compile ' com.facebook.react:react-native:+'
52- }
47+ implementation ' com.android.support:appcompat-v7:25.0.1'
48+ implementation ' com.github.facebookincubator:Keyframes:v1.1.0'
49+ implementation ' com.facebook.react:react-native:+'
50+ }
0 commit comments