Skip to content

Commit

Permalink
Setup empty card-scanning module
Browse files Browse the repository at this point in the history
COAND-429
  • Loading branch information
OscarSpruit committed Dec 10, 2024
1 parent c1c55ce commit c67f2cf
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 0 deletions.
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

0 comments on commit c67f2cf

Please sign in to comment.