Skip to content

Commit

Permalink
Create libs.versions.toml and migrate dependencies to it
Browse files Browse the repository at this point in the history
COAND-977
  • Loading branch information
jreij committed Oct 9, 2024
1 parent ca3d94e commit 075cccb
Show file tree
Hide file tree
Showing 65 changed files with 789 additions and 791 deletions.
22 changes: 11 additions & 11 deletions 3ds2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

// Maven artifact
Expand All @@ -21,11 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -41,14 +41,14 @@ dependencies {
api project(':ui-core')

// Dependencies
api libraries.adyen3ds2
api libs.adyen3ds2

//Tests
testImplementation testFixtures(project(':test-core'))
testImplementation testFixtures(project(':components-core'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.json
testImplementation testLibraries.junit5
testImplementation testLibraries.mockito
testImplementation testLibraries.kotlinCoroutines
testImplementation libs.json
testImplementation libs.bundles.junit
testImplementation libs.bundles.mockito
testImplementation libs.bundles.kotlin.coroutines.test
}
22 changes: 11 additions & 11 deletions ach/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}
// Maven artifact
ext.mavenArtifactId = "ach"
Expand All @@ -12,11 +12,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -37,15 +37,15 @@ dependencies {
api project(':sessions-core')

// Dependencies
implementation libraries.material
implementation libs.material

//Tests
testImplementation testFixtures(project(':test-core'))
testImplementation testFixtures(project(':components-core'))
testImplementation testFixtures(project(':cse'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.json
testImplementation testLibraries.junit5
testImplementation testLibraries.kotlinCoroutines
testImplementation testLibraries.mockito
testImplementation libs.json
testImplementation libs.bundles.junit
testImplementation libs.bundles.kotlin.coroutines.test
testImplementation libs.bundles.mockito
}
20 changes: 10 additions & 10 deletions action-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

ext.mavenArtifactId = "action-core"
Expand All @@ -20,11 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

android {
namespace 'com.adyen.checkout.action.core'
compileSdk compile_sdk_version
compileSdk libs.versions.compile.sdk.get().toInteger()

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand Down Expand Up @@ -56,8 +56,8 @@ dependencies {
testImplementation project(':wechatpay')
testImplementation testFixtures(project(':components-core'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.json
testImplementation testLibraries.junit5
testImplementation testLibraries.mockito
testImplementation testLibraries.kotlinCoroutines
testImplementation libs.json
testImplementation libs.bundles.junit
testImplementation libs.bundles.mockito
testImplementation libs.bundles.kotlin.coroutines.test
}
20 changes: 10 additions & 10 deletions action/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

ext.mavenArtifactId = "action"
Expand All @@ -20,11 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -39,8 +39,8 @@ dependencies {

//Tests
testImplementation testFixtures(project(':test-core'))
testImplementation testLibraries.json
testImplementation testLibraries.junit5
testImplementation testLibraries.mockito
testImplementation testLibraries.kotlinCoroutines
testImplementation libs.json
testImplementation libs.bundles.junit
testImplementation libs.bundles.mockito
testImplementation libs.bundles.kotlin.coroutines.test
}
20 changes: 10 additions & 10 deletions await/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

ext.mavenArtifactId = "await"
Expand All @@ -20,11 +20,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -43,8 +43,8 @@ dependencies {
testImplementation testFixtures(project(':test-core'))
testImplementation testFixtures(project(':components-core'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.json
testImplementation testLibraries.junit5
testImplementation testLibraries.mockito
testImplementation testLibraries.kotlinCoroutines
testImplementation libs.json
testImplementation libs.bundles.junit
testImplementation libs.bundles.mockito
testImplementation libs.bundles.kotlin.coroutines.test
}
20 changes: 10 additions & 10 deletions bacs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

// Maven artifact
Expand All @@ -21,11 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -43,13 +43,13 @@ dependencies {
api project(':sessions-core')

// Dependencies
implementation libraries.material
implementation libs.material

//Tests
testImplementation testFixtures(project(':test-core'))
testImplementation testFixtures(project(':components-core'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.junit5
testImplementation testLibraries.mockito
testImplementation testLibraries.kotlinCoroutines
testImplementation libs.bundles.junit
testImplementation libs.bundles.mockito
testImplementation libs.bundles.kotlin.coroutines.test
}
20 changes: 10 additions & 10 deletions bcmc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

// Maven artifact
Expand All @@ -21,11 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -48,12 +48,12 @@ dependencies {
api project(':sessions-core')

// Dependencies
implementation libraries.material
implementation libs.material

//Tests
testImplementation testFixtures(project(':test-core'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.junit5
testImplementation testLibraries.mockito
testImplementation testLibraries.kotlinCoroutines
testImplementation libs.bundles.junit
testImplementation libs.bundles.mockito
testImplementation libs.bundles.kotlin.coroutines.test
}
22 changes: 11 additions & 11 deletions blik/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-parcelize'
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
alias libs.plugins.kotlin.parcelize
}

// Maven artifact
Expand All @@ -21,11 +21,11 @@ apply from: "${rootDir}/config/gradle/sharedTasks.gradle"

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

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

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -43,14 +43,14 @@ dependencies {
api project(':sessions-core')

// Dependencies
implementation libraries.material
implementation libs.material

//Tests
testImplementation testFixtures(project(':test-core'))
testImplementation testFixtures(project(':components-core'))
testImplementation testFixtures(project(':ui-core'))
testImplementation testLibraries.json
testImplementation testLibraries.junit5
testImplementation testLibraries.kotlinCoroutines
testImplementation testLibraries.mockito
testImplementation libs.json
testImplementation libs.bundles.junit
testImplementation libs.bundles.kotlin.coroutines.test
testImplementation libs.bundles.mockito
}
Loading

0 comments on commit 075cccb

Please sign in to comment.