Commit 254539e0 authored by Guy Carmeli's avatar Guy Carmeli

Update example app

Update gradle files, nothing fancy.
parent 0e86357c
...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
android { android {
compileSdkVersion 27 compileSdkVersion 27
buildToolsVersion "27.0.3" buildToolsVersion '28.0.3'
defaultConfig { defaultConfig {
minSdkVersion 19 minSdkVersion 19
......
...@@ -2,15 +2,21 @@ ...@@ -2,15 +2,21 @@
buildscript { buildscript {
repositories { repositories {
google()
mavenLocal()
mavenCentral()
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.2.0' classpath 'com.android.tools.build:gradle:3.2.1'
} }
} }
allprojects { allprojects {
repositories { repositories {
mavenLocal()
mavenCentral()
google()
jcenter() jcenter()
maven { maven {
......
#Sun Oct 09 14:30:04 IDT 2016 #Sun Nov 04 14:31:28 IST 2018
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 23 compileSdkVersion 26
buildToolsVersion "25" buildToolsVersion "28.0.3"
defaultConfig { defaultConfig {
applicationId "com.wix.reactnativenotifications.app" applicationId "com.wix.reactnativenotifications.app"
minSdkVersion 16 minSdkVersion 19
targetSdkVersion 23 targetSdkVersion 26
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
ndk { ndk {
abiFilters "armeabi-v7a", "x86" abiFilters "armeabi-v7a", "x86"
} }
// packagingOptions {
// exclude "lib/arm64-v8a/librealm-jni.so"
// }
} }
buildTypes { buildTypes {
release { release {
...@@ -27,12 +24,12 @@ android { ...@@ -27,12 +24,12 @@ android {
} }
dependencies { dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) // compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.4.0' implementation 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:design:23.4.0' implementation 'com.android.support:design:26.1.0'
compile 'com.facebook.react:react-native:+' implementation 'com.facebook.react:react-native:+'
compile project(':react-native-notifications') implementation project(':react-native-notifications')
testCompile 'junit:junit:4.12' testImplementation'junit:junit:4.12'
} }
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
"react-native-notifications": "../" "react-native-notifications": "../"
}, },
"babel": { "babel": {
"presets": ["react-native-stage-0"] "presets": [
"react-native-stage-0"
]
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment