Getting "Duplicate class com.squareup.Pan found in modules jetified-card-42 (com.squareup.android:card:42) and jetified-reader-sdk-internals-1.5.1 (com.squareup.sdk.reader:reader-sdk-internals:1.5.1)" when using both in app payment and reader sdk in same project.
def inAppPaymentsSdkVersion = '1.5.2'
implementation "com.squareup.sdk.in-app-payments:card-entry:$inAppPaymentsSdkVersion"
implementation "com.squareup.sdk.in-app-payments:google-pay:$inAppPaymentsSdkVersion"
def readerSdkVersion = "1.5.1"
implementation "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion"
runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion"
Getting "Duplicate class com.squareup.Pan found in modules jetified-card-42 (com.squareup.android:card:42) and jetified-reader-sdk-internals-1.5.1 (com.squareup.sdk.reader:reader-sdk-internals:1.5.1)" when using both in app payment and reader sdk in same project.
def inAppPaymentsSdkVersion = '1.5.2'
implementation "com.squareup.sdk.in-app-payments:card-entry:$inAppPaymentsSdkVersion"
implementation "com.squareup.sdk.in-app-payments:google-pay:$inAppPaymentsSdkVersion"
def readerSdkVersion = "1.5.1"
implementation "com.squareup.sdk.reader:reader-sdk-$SQUARE_READER_SDK_APPLICATION_ID:$readerSdkVersion"
runtimeOnly "com.squareup.sdk.reader:reader-sdk-internals:$readerSdkVersion"