diff --git a/README.md b/README.md index 5d82eca..e17b4ed 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Download the latest release from GitHub, then add the PromisePay package to your ## Gradle ```Java -compile 'com.github.promisepay:promisepay:0.2.1' +implementation 'com.github.promisepay:promisepay:0.1.2' ``` ## Maven @@ -17,7 +17,7 @@ compile 'com.github.promisepay:promisepay:0.2.1' com.github.promisepay promisepay - 0.2.1 + 0.1.2 ``` diff --git a/app/build.gradle b/app/build.gradle index 7ab9df4..fd93f3a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 23 - buildToolsVersion "23.0.2" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { applicationId "com.github.promisepayandroid" minSdkVersion 15 - targetSdkVersion 23 + targetSdkVersion 28 versionCode 1 versionName "1.0" } @@ -17,12 +17,16 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' - compile 'com.android.support:design:23.1.1' - compile project(':promisepay') + implementation fileTree(include: ['*.jar'], dir: 'libs') + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support:design:28.0.0' + implementation project(':promisepay') } diff --git a/build.gradle b/build.gradle index 7faca51..42ec169 100644 --- a/build.gradle +++ b/build.gradle @@ -2,18 +2,20 @@ buildscript { repositories { + google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.0' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' + classpath 'com.android.tools.build:gradle:3.3.2' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' } } allprojects { repositories { jcenter() + google() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1dabc84..787c961 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip diff --git a/promisepay/build.gradle b/promisepay/build.gradle index 30a6f4d..feb3ae6 100644 --- a/promisepay/build.gradle +++ b/promisepay/build.gradle @@ -13,7 +13,7 @@ ext { siteUrl = 'https://github.com/PromisePay/android-sdk' gitUrl = 'https://github.com/PromisePay/android-sdk.git' - libraryVersion = '0.1.1' + libraryVersion = '0.1.2' developerId = 'kevinhakans' developerName = 'Kevin Hakans' @@ -25,14 +25,14 @@ ext { } android { - compileSdkVersion 23 - buildToolsVersion "23.0.2" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { minSdkVersion 15 - targetSdkVersion 23 - versionCode 2 - versionName "0.1.1" + targetSdkVersion 28 + versionCode 3 + versionName "0.1.2" } buildTypes { release { @@ -40,13 +40,17 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' - compile 'io.card:android-sdk:5.3.4' + implementation fileTree(include: ['*.jar'], dir: 'libs') + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'io.card:android-sdk:5.3.4' }