Skip to content

Commit

Permalink
Update to the last gradle / RM vesrions
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimko committed Dec 27, 2018
1 parent a435f65 commit 402f5f5
Show file tree
Hide file tree
Showing 8 changed files with 1,518 additions and 1,254 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
buildToolsVersion '28.0.3'

defaultConfig {
minSdkVersion 16
Expand Down
6 changes: 2 additions & 4 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
apply plugin: "com.android.application"

import com.android.build.OutputFile

/**
Expand Down Expand Up @@ -64,7 +62,7 @@ import com.android.build.OutputFile
* extraPackagerArgs: []
* ]
*/

apply plugin: "com.android.application"
apply from: "../../node_modules/react-native/react.gradle"

/**
Expand All @@ -84,7 +82,7 @@ def enableProguardInReleaseBuilds = false

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
buildToolsVersion '28.0.3'

defaultConfig {
applicationId "com.example"
Expand Down
4 changes: 1 addition & 3 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CAMERA" />

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="22" />
<uses-sdk android:targetSdkVersion="22" />

<application
android:name=".MainApplication"
Expand Down
3 changes: 2 additions & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ buildscript {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.android.tools.build:gradle:3.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed May 16 18:05:22 CEST 2018
#Wed Oct 03 17:30:49 CEST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"react": "16.3.2",
"react-native": "0.55.4",
"react": "16.7.0",
"react-native": "0.57.8",
"react-native-image-crop-picker": "../",
"react-native-video": "git://github.com/react-native-community/react-native-video.git"
}
Expand Down
2,747 changes: 1,507 additions & 1,240 deletions example/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
},
"homepage": "https://github.com/ivpusic/react-native-image-crop-picker#readme",
"peerDependencies": {
"react-native": ">=0.40.0"
"react-native": "*"
}
}

0 comments on commit 402f5f5

Please sign in to comment.