braintree-android-drop-in
braintree-android-drop-in copied to clipboard
CI Build: Could not resolve cardinalmobilesdk: Received status code 403 from server: Forbidden
General information
- SDK/Library version: 6.0.0
- Environment: N/A
- Android Version and Device: N/A
Issue description
This issue occurs when our CI builds our application. Locally, do not have this issue because I guess the dependency is cached.
The repository that hosts the cardinalcommerce
dependency appears to be unstable lately.
- Occurred a few times last week
- Yesterday was fine
- Today encounter the same issue
This is the error:
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsAlpha'.
> Could not resolve all files for configuration ':app:alphaRuntimeClasspath'.
> Could not resolve org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.5-4.
Required by:
project :app > com.braintreepayments.api:drop-in:6.0.0 > com.braintreepayments.api:three-d-secure:4.7.0
> Could not resolve org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.5-4.
> Could not get resource 'https://cardinalcommerceprod.jfrog.io/artifactory/android/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.5-4/cardinalmobilesdk-2.2.5-4.pom'.
> Could not GET 'https://cardinalcommerceprod.jfrog.io/artifactory/android/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.5-4/cardinalmobilesdk-2.2.5-4.pom'. Received status code 403 from server: Forbidden
I double checked the credentials here https://developer.paypal.com/braintree/docs/guides/3d-secure/migration/android/v4 which is correct.
This is a snippet from the build.gradle
file from the app
module.
repositories {
google()
mavenCentral()
maven {
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
credentials {
username 'braintree_team_sdk'
password 'AKCp8jQcoDy2hxSWhDAUQKXLDPDx6NYRkqrgFLRc3qDrayg6rrCbJpsKKyMwaykVL8FWusJpp'
}
}
}
dependencies {
implementation "com.braintreepayments.api:drop-in:6.0.0"
}