Daniel Zlotin преди 7 години
родител
ревизия
c3e600dde9
променени са 3 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 1
    1
      example/android/app/build.gradle
  2. 3
    1
      example/android/build.gradle
  3. 2
    2
      example/android/gradle/wrapper/gradle-wrapper.properties

+ 1
- 1
example/android/app/build.gradle Целия файл

@@ -20,7 +20,7 @@ def enableProguardInReleaseBuilds = false
20 20
 
21 21
 android {
22 22
     compileSdkVersion 25
23
-    buildToolsVersion "25.0.1"
23
+    buildToolsVersion '26.0.2'
24 24
 
25 25
     defaultConfig {
26 26
         applicationId "com.example"

+ 3
- 1
example/android/build.gradle Целия файл

@@ -2,10 +2,11 @@
2 2
 
3 3
 buildscript {
4 4
     repositories {
5
+        google()
5 6
         jcenter()
6 7
     }
7 8
     dependencies {
8
-        classpath 'com.android.tools.build:gradle:2.3.3'
9
+        classpath 'com.android.tools.build:gradle:3.0.1'
9 10
 
10 11
         // NOTE: Do not place your application dependencies here; they belong
11 12
         // in the individual module build.gradle files
@@ -16,6 +17,7 @@ allprojects {
16 17
     repositories {
17 18
         mavenLocal()
18 19
         jcenter()
20
+        google()
19 21
         maven {
20 22
             // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 23
             url "$rootDir/../node_modules/react-native/android"

+ 2
- 2
example/android/gradle/wrapper/gradle-wrapper.properties Целия файл

@@ -1,6 +1,6 @@
1
-#Fri Jun 30 16:12:20 EDT 2017
1
+#Sun Jan 28 19:31:28 IST 2018
2 2
 distributionBase=GRADLE_USER_HOME
3 3
 distributionPath=wrapper/dists
4 4
 zipStoreBase=GRADLE_USER_HOME
5 5
 zipStorePath=wrapper/dists
6
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
6
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip