Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup empty card-scanning module #1928

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions card-scanning/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Copyright (c) 2024 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by oscars on 10/12/2024.
*/

plugins {
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
}

// Maven artifact
ext.mavenArtifactId = "card-scanning"
ext.mavenArtifactName = "Adyen Checkout Card Scanning"
ext.mavenArtifactDescription = "Adyen Checkout Card scanning."

apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.card.scanning'
compileSdk libs.versions.compile.sdk.get().toInteger()

defaultConfig {
minSdk libs.versions.min.sdk.get().toInteger()
targetSdk libs.versions.target.sdk.get().toInteger()

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
}

buildFeatures {
viewBinding true
}

testOptions {
unitTests.returnDefaultValues = true
}
}

dependencies {}
Empty file.
9 changes: 9 additions & 0 deletions card-scanning/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--
~ Copyright (c) 2024 Adyen N.V.
~
~ This file is open source and available under the MIT license. See the LICENSE file for more info.
~
~ Created by oscars on 10/12/2024.
-->

<manifest />
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by oscars on 10/12/2024.
*/

package com.adyen.checkout.card.scanning

class AdyenCardScanner
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ include ':3ds2',
':blik',
':boleto',
':card',
':card-scanning',
':cashapppay',
':checkout-core',
':components-compose',
Expand Down
Loading