Skip to content

Commit af6ab97

Browse files
author
Anya Shanahan
committed
Adding paypal sdk
Need to downgrade targetSdk to 30, as otherwise I will need to fix a bunch of manifest merge issues
1 parent fc31ed1 commit af6ab97

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
defaultConfig {
1010
applicationId "com.example.paypalsdkintegration"
1111
minSdk 21
12-
targetSdk 31
12+
targetSdk 30
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -42,6 +42,7 @@ dependencies {
4242
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
4343
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
4444
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
45+
implementation 'com.paypal.checkout:android-sdk:0.5.2'
4546
testImplementation 'junit:junit:4.+'
4647
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
4748
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

settings.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ dependencyResolutionManagement {
44
google()
55
mavenCentral()
66
jcenter() // Warning: this repository is going to shut down soon
7+
maven {
8+
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
9+
credentials {
10+
username 'braintree_team_sdk'
11+
password 'AKCp8jQcoDy2hxSWhDAUQKXLDPDx6NYRkqrgFLRc3qDrayg6rrCbJpsKKyMwaykVL8FWusJpp'
12+
}
13+
}
714
}
815
}
916
rootProject.name = "PaypalSdkIntegration"

0 commit comments

Comments
 (0)