Skip to content

Commit

Permalink
- upgrading gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
prscms committed Dec 8, 2018
1 parent f1a194d commit f8aa116
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 20 deletions.
14 changes: 7 additions & 7 deletions Example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,16 @@ android {
}
}
}
buildToolsVersion '28.0.2'
buildToolsVersion '28.0.3'
}

dependencies {
compile project(':rn-fetch-blob')
compile project(':react-native-fs')
compile project(':react-native-photo-editor')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
compile "com.facebook.react:react-native:+" // From node_modules
implementation project(':rn-fetch-blob')
implementation project(':react-native-fs')
implementation project(':react-native-photo-editor')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:28.0.0"
implementation "com.facebook.react:react-native:+" // From node_modules
}

// Run this once to be able to run the application with BUCK
Expand Down
4 changes: 3 additions & 1 deletion Example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
Expand Down
9 changes: 5 additions & 4 deletions Example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ buildscript {

allprojects {
repositories {
google()
mavenLocal()
maven { url 'https://jitpack.io' }
maven {
Expand All @@ -35,9 +36,9 @@ allprojects {
}

ext {
buildToolsVersion = "26.0.3"
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 26
targetSdkVersion = 26
supportLibVersion = "26.1.0"
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.3"
}
18 changes: 10 additions & 8 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

buildscript {
repositories {
google()
maven { url 'https://jitpack.io' }
maven { url "https://maven.google.com" }
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.android.tools.build:gradle:3.2.1'
}
}

Expand All @@ -29,17 +30,18 @@ android {
}

repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "https://maven.google.com" }
}

dependencies {
compile 'com.facebook.react:react-native:+'
compile 'com.github.prscX:photo-editor-android:master-SNAPSHOT'
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.android.support:design:27.1.1'
compile 'com.android.support:appcompat-v7:27.1.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.facebook.react:react-native:+'
implementation 'com.github.prscX:photo-editor-android:master-SNAPSHOT'
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar'
implementation 'com.nineoldandroids:library:2.4.0'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
}

0 comments on commit f8aa116

Please sign in to comment.