Skip to content

Commit

Permalink
- upgrading android dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
prscms committed Nov 1, 2018
1 parent d9c0c0c commit 693a996
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,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 @@ -6,9 +6,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

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

<application
android:name=".MainApplication"
Expand Down
7 changes: 4 additions & 3 deletions Example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

buildscript {
repositories {
jcenter()
google()
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'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -16,11 +17,11 @@ buildscript {
allprojects {
repositories {
mavenLocal()
jcenter()
maven { url "https://maven.google.com" }
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
jcenter()
}
}
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 @@
#Sun May 27 20:51:31 IST 2018
#Thu Nov 01 11:38:18 IST 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.6-all.zip
14 changes: 7 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@

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

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

apply plugin: 'com.android.library'

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

defaultConfig {
minSdkVersion 16
Expand All @@ -28,13 +28,13 @@ android {
}

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

dependencies {
compile project(':react-native-vector-icons')
compile 'com.facebook.react:react-native:+'
compile 'com.github.zawadz88.materialpopupmenu:material-popup-menu:1.4.1'
implementation project(':react-native-vector-icons')
implementation 'com.facebook.react:react-native:+'
implementation 'com.github.zawadz88.materialpopupmenu:material-popup-menu:1.4.1'
compile 'com.android.support:appcompat-v7:27.0.2'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"name": "react-native-popover-menu",
"version": "0.0.19",
"version": "0.0.20",
"description": "React Native: Native Popover Menu",
"main": "js/RNPopoverMenu.js",
"scripts": {
Expand Down

0 comments on commit 693a996

Please sign in to comment.