Skip to content

Commit

Permalink
remove unneeded dependencies, update demo app dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sproctor committed Dec 30, 2022
1 parent 8939cd0 commit 2a79beb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
13 changes: 7 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
10 changes: 2 additions & 8 deletions color-picker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand All @@ -33,20 +33,14 @@ 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")
}
}
val jvmMain by getting {
dependencies {
api(compose.preview)
implementation(compose.preview)
}
}
val jvmTest by getting
Expand Down

0 comments on commit 2a79beb

Please sign in to comment.