From 2a79beb41b1cb282b2f3c19dda36cf539e4fc1b6 Mon Sep 17 00:00:00 2001 From: Sean Proctor Date: Fri, 30 Dec 2022 02:40:16 -0500 Subject: [PATCH] remove unneeded dependencies, update demo app dependencies --- app/build.gradle.kts | 13 +++++++------ color-picker/build.gradle.kts | 10 ++-------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 5973294..5650e39 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,18 +11,19 @@ version = "1.0" dependencies { implementation(project(":color-picker")) - implementation ("androidx.activity:activity-compose:1.5.1") - implementation("com.google.android.material:material:1.6.1") - implementation("androidx.navigation:navigation-runtime-ktx:2.5.1") - implementation("androidx.navigation:navigation-compose:2.5.2") + implementation ("androidx.activity:activity-compose:1.6.1") + implementation("com.google.android.material:material:1.7.0") + implementation("androidx.navigation:navigation-runtime-ktx:2.5.3") + implementation("androidx.navigation:navigation-compose:2.5.3") + implementation(compose.material) } android { - compileSdk = 32 + compileSdk = 33 defaultConfig { applicationId = "com.godaddy.android.colorpicker" minSdk = 21 - targetSdk = 32 + targetSdk = 33 versionCode = 1 versionName = "1.0" } diff --git a/color-picker/build.gradle.kts b/color-picker/build.gradle.kts index 52bc27b..75c06cd 100644 --- a/color-picker/build.gradle.kts +++ b/color-picker/build.gradle.kts @@ -24,7 +24,7 @@ kotlin { dependencies { api(compose.runtime) api(compose.foundation) - api(compose.material) + implementation(compose.material) implementation("com.github.ajalt.colormath:colormath:3.2.0") } } @@ -33,12 +33,6 @@ kotlin { implementation(kotlin("test")) } } - val androidMain by getting { - dependencies { - api("androidx.appcompat:appcompat:1.5.1") - api("androidx.core:core-ktx:1.8.0") - } - } val androidTest by getting { dependencies { implementation("junit:junit:4.13.2") @@ -46,7 +40,7 @@ kotlin { } val jvmMain by getting { dependencies { - api(compose.preview) + implementation(compose.preview) } } val jvmTest by getting