Skip to content

Commit 689c4c8

Browse files
Merge pull request #95 from PaystackHQ/fix/duplicate-resources
Fix build issues due to conflict with Material Component attributes
2 parents 3ef495e + 1e77bac commit 689c4c8

6 files changed

Lines changed: 21 additions & 20 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/co.paystack.android/paystack-android/badge.svg)](https://maven-badges.herokuapp.com/maven-central/co.paystack.android/paystack-android)
12
[![API](https://img.shields.io/badge/API-16%2B-blue.svg?style=plastic)](https://android-arsenal.com/api?level=16)
23

34

@@ -36,8 +37,8 @@ You do not need to clone this repository or download the files. Just add the fol
3637

3738
```gradle
3839
dependencies {
39-
implementation 'co.paystack.android.design.widget:pinpad:1.0.2'
40-
implementation 'co.paystack.android:paystack:3.0.14'
40+
implementation 'co.paystack.android.design.widget:pinpad:1.0.4'
41+
implementation 'co.paystack.android:paystack:3.0.17'
4142
}
4243
```
4344

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.4.0'
9+
classpath 'com.android.tools.build:gradle:3.6.1'
1010
classpath 'org.robolectric:robolectric-gradle-plugin:1.1.0'
1111
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
1212
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
@@ -25,10 +25,10 @@ allprojects {
2525
ext {
2626
compileSdkVersion = 29
2727
minSdkVersion = 16
28-
targetSdkVersion = 25
29-
versionCode = 24
28+
targetSdkVersion = 29
29+
versionCode = 26
3030

3131
buildToolsVersion = "29.0.2"
3232
supportLibraryVersion = "28.0.0"
33-
versionName = "3.0.14"
33+
versionName = "3.0.17"
3434
}

example/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ android {
2525
}
2626

2727
dependencies {
28-
api "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
29-
api fileTree(include: ['*.jar'], dir: 'libs')
28+
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
29+
implementation fileTree(include: ['*.jar'], dir: 'libs')
3030
testImplementation 'junit:junit:4.13-beta-2'
3131
testImplementation 'org.assertj:assertj-core:3.12.2'
3232
testImplementation 'org.robolectric:robolectric:4.3-alpha-2'
3333
testImplementation 'org.mockito:mockito-core:1.10.19'
34-
api project(':paystack')
35-
// api "co.paystack.android:paystack:$rootProject.ext.versionName"
34+
implementation project(':paystack')
35+
// implementation "co.paystack.android:paystack:$rootProject.ext.versionName"
3636
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616
# This option should only be used with decoupled projects. More details, visit
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
19+
android.useAndroidX=true
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed May 08 19:25:39 WAT 2019
1+
#Wed Mar 25 12:49:33 WAT 2020
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

paystack/build.gradle

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ android {
2828
}
2929

3030
dependencies {
31-
api fileTree(dir: 'libs', include: ['*.jar'])
32-
api 'com.google.code.gson:gson:2.8.5'
33-
api 'com.squareup.retrofit2:retrofit:2.6.2'
34-
api 'com.squareup.retrofit2:converter-gson:2.5.0'
35-
api 'com.squareup.okhttp3:okhttp:3.14.6'
36-
api "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
37-
38-
api 'co.paystack.android.design.widget:pinpad:1.0.2'
31+
implementation fileTree(dir: 'libs', include: ['*.jar'])
32+
implementation 'com.google.code.gson:gson:2.8.5'
33+
implementation 'com.squareup.retrofit2:retrofit:2.6.2'
34+
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
35+
implementation 'com.squareup.okhttp3:okhttp:3.14.6'
36+
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
37+
implementation 'co.paystack.android.design.widget:pinpad:1.0.4'
3938
}
4039

4140
ext {

0 commit comments

Comments
 (0)