From da9daa83b80ea76c751af8b183a05ee313c820a8 Mon Sep 17 00:00:00 2001 From: Kevin Lind <40409666+kevinlind@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:04:43 -0700 Subject: [PATCH] Update Core dependency to 3.0.0 (non snapshot) version (#126) * Update Core dependency to 3.0.0 (non snapshot) version * Update Assurance dependency in test app to 3.0.0 * Update README with correct settings file name. * Remove exclude --- README.md | 2 +- code/app/build.gradle.kts | 11 +++-------- code/edgeidentity/build.gradle.kts | 9 ++------- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1931944..ed133ac 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Integrate the Identity for Edge Network mobile extension into your app by follow **Open the project** -To open and run the project, open the `code/settings.gradle` file in Android Studio. +To open and run the project, open the `code/settings.gradle.kt` file in Android Studio. **Run the test app** diff --git a/code/app/build.gradle.kts b/code/app/build.gradle.kts index d851888..d66ea7a 100644 --- a/code/app/build.gradle.kts +++ b/code/app/build.gradle.kts @@ -69,18 +69,13 @@ dependencies { implementation("com.google.android.material:material:1.3.0") implementation(project(":edgeidentity")) - implementation("com.adobe.marketing.mobile:core:$mavenCoreVersion-SNAPSHOT") - implementation("com.adobe.marketing.mobile:identity:3.0.0-SNAPSHOT") { - exclude(group = "com.adobe.marketing.mobile", module = "core") - } + implementation("com.adobe.marketing.mobile:core:$mavenCoreVersion") + implementation("com.adobe.marketing.mobile:identity:3.0.0") implementation("com.adobe.marketing.mobile:edgeconsent:3.0.0-SNAPSHOT") { exclude(group = "com.adobe.marketing.mobile", module = "edge") - exclude(group = "com.adobe.marketing.mobile", module = "core") - } - implementation("com.adobe.marketing.mobile:assurance:2.+") + implementation("com.adobe.marketing.mobile:assurance:3.0.0") implementation("com.adobe.marketing.mobile:edge:3.0.0-SNAPSHOT") { - exclude(group = "com.adobe.marketing.mobile", module = "core") exclude(group = "com.adobe.marketing.mobile", module = "edgeidentity") } implementation("androidx.core:core-ktx:1.3.2") diff --git a/code/edgeidentity/build.gradle.kts b/code/edgeidentity/build.gradle.kts index 705fe3a..087915e 100644 --- a/code/edgeidentity/build.gradle.kts +++ b/code/edgeidentity/build.gradle.kts @@ -28,9 +28,7 @@ aepLibrary { } dependencies { - // TODO: Use 3.x versions for testing - // TODO: Remove -SNAPSHOT suffix after Core 3.0.0 is published - implementation("com.adobe.marketing.mobile:core:$mavenCoreVersion-SNAPSHOT") + implementation("com.adobe.marketing.mobile:core:$mavenCoreVersion") // testImplementation dependencies provided by aep-library: // MOCKITO_CORE, JSON, ANDROIDX_TEST_EXT_JUNIT @@ -41,8 +39,5 @@ dependencies { // ANDROIDX_TEST_EXT_JUNIT, ESPRESSO_CORE androidTestImplementation ("com.fasterxml.jackson.core:jackson-databind:2.12.7") - androidTestImplementation("com.adobe.marketing.mobile:identity:$functionalTestIdentityVersion-SNAPSHOT") - { - exclude(group = "com.adobe.marketing.mobile", module = "core") - } + androidTestImplementation("com.adobe.marketing.mobile:identity:$functionalTestIdentityVersion") }