-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 /> |
11 changes: 11 additions & 0 deletions
11
card-scanning/src/main/java/com/adyen/checkout/card/scanning/AdyenCardScanner.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters