Skip to content

Commit

Permalink
Merge pull request ReactNativeBrasil#3 from vza100/master
Browse files Browse the repository at this point in the history
SumUp wrapper updated to 3.0.0 version
  • Loading branch information
ital0 authored Aug 8, 2018
2 parents 5f2f212 + 6a80ad7 commit 0b4228e
Showing 1 changed file with 40 additions and 12 deletions.
52 changes: 40 additions & 12 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,66 @@
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}

dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

allprojects {
repositories {
maven { url 'https://maven.sumup.com/releases' }
jcenter()

maven {
url 'https://maven.google.com/'
name 'Google'
}

maven { url 'https://maven.sumup.com/releases' }
}
}

apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion '25.0.0'
compileSdkVersion 26
buildToolsVersion "27.0.2"

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 26
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
lintOptions {
abortOnError false
warning 'InvalidPackage'
// Possible resolution strategy. Only necessary if not compiling against API 27
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:26.1.0'
force 'com.android.support:appcompat-v7:26.1.0'
force 'com.android.support:cardview-v7:26.1.0'
force 'com.android.support:design:26.1.0'
}
}

packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}

buildTypes {
debug {
// All ProGuard rules required by the SumUp SDK are packaged with the library
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt')
}
}
}

Expand All @@ -46,8 +74,8 @@ dependencies {
annotationProcessor 'com.neenbedankt.bundles:argument:1.0.4'
compile 'com.neenbedankt.bundles:argument:1.0.4'
compile 'com.facebook.react:react-native:+'
compile('com.sumup:merchant-sdk:2.5.2@aar') {
transitive = true
}
compile 'com.android.support:appcompat-v7:26.1.0'

compile 'com.sumup:merchant-sdk:3.0.0'
}

0 comments on commit 0b4228e

Please sign in to comment.