diff --git a/Example/android/app/build.gradle b/Example/android/app/build.gradle index 12dee76..3ac9566 100644 --- a/Example/android/app/build.gradle +++ b/Example/android/app/build.gradle @@ -94,13 +94,13 @@ def enableSeparateBuildPerCPUArchitecture = false def enableProguardInReleaseBuilds = false android { - compileSdkVersion 26 - buildToolsVersion "26.0.2" + compileSdkVersion 27 + buildToolsVersion "27.0.3" defaultConfig { applicationId "com.swmansion.reanimated.example" minSdkVersion 16 - targetSdkVersion 22 + targetSdkVersion 27 versionCode 1 versionName "1.0" ndk { @@ -140,7 +140,7 @@ dependencies { compile project(':react-native-reanimated') compile project(':react-native-gesture-handler') compile fileTree(dir: "libs", include: ["*.jar"]) - compile "com.android.support:appcompat-v7:26.1.0" + compile "com.android.support:appcompat-v7:27.0.0" compile "com.facebook.react:react-native:+" // From node_modules } diff --git a/Example/android/build.gradle b/Example/android/build.gradle index 85ac7d6..014a833 100644 --- a/Example/android/build.gradle +++ b/Example/android/build.gradle @@ -4,11 +4,12 @@ buildscript { repositories { jcenter() maven { - url 'https://maven.google.com' + url 'https://maven.google.com/' } + google() } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -20,5 +21,6 @@ allprojects { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } + google() } } \ No newline at end of file diff --git a/Example/android/gradle/wrapper/gradle-wrapper.properties b/Example/android/gradle/wrapper/gradle-wrapper.properties index 4002605..f1f2cff 100644 --- a/Example/android/gradle/wrapper/gradle-wrapper.properties +++ b/Example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Apr 25 11:09:21 CEST 2018 +#Mon Aug 06 14:32:25 CEST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip diff --git a/android/build.gradle b/android/build.gradle index 883fb8d..e2fb148 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,12 +2,13 @@ buildscript { repositories { jcenter() + google() } dependencies { // Matches the RN Hello World template // https://github.com/facebook/react-native/blob/1e8f3b11027fe0a7514b4fc97d0798d3c64bc895/local-cli/templates/HelloWorld/android/build.gradle#L8 - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -15,12 +16,12 @@ apply plugin: 'com.android.library' apply plugin: 'maven' android { - compileSdkVersion 23 - buildToolsVersion "23.0.1" + compileSdkVersion 28 + buildToolsVersion "28.0.1" defaultConfig { minSdkVersion 16 - targetSdkVersion 22 + targetSdkVersion 28 versionCode 1 versionName "1.0" } @@ -36,6 +37,7 @@ repositories { // https://github.com/facebook/react-native/blob/1e8f3b11027fe0a7514b4fc97d0798d3c64bc895/local-cli/templates/HelloWorld/android/build.gradle#L21 url "$projectDir/../node_modules/react-native/android" } + google() mavenCentral() }