Closed Ed-HIcks-Branch closed 4 years ago
Yep my Bitrise builds are broken now. @vitkuzmenko
+1
+1
+2
Could not resolve cards.pay:paycardsrecognizer:1.1.0.
> Could not parse POM http://pay.cards/maven/cards/pay/paycardsrecognizer/1.1.0/paycardsrecognizer-1.1.0.pom
> The markup in the document preceding the root element must be well-formed.
+3
The same issue, even using jitpack with link to the repo
+4
+5
+6
+7
+8
+9
+10
I came up with a temporary fix by simply building the SDK artifact and importing it into my project then declaring the SDK dependencies in my project/app/build.gradle
.
Import this AAR as a new module in your project or build the artifact yourself and import it: paycards-1.1.0.aar.zip*
Modify your app/build.gradle
script to include the PayCardsRecognizer dependencies since they're not included in the AAR.
Note this is kotlin gradle dsl and may differ if you are still using groovy.
android {
....
dependencies {
implementation(project(mapOf("path" to "paycards-1.1.0")))
implementation("com.facebook.device.yearclass:yearclass:2.1.0")
}
}
You should now be able to use the PayCards library without relying on the maven reference.
Hope this helps in the meantime.
*Had to zip the attached AAR since GitHub doesn't support them. Uncompress before importing into your project
+11
+12
+13
POM file is accessible now. Issue should be close as resolved.
Pom file is unavailable again.
https://pay.cards/maven/cards/pay/paycardsrecognizer/1.1.0/paycardsrecognizer-1.1.0.pom