Skip to content

Commit 149fea8

Browse files
committed
migrate to use shared library
1 parent 251f726 commit 149fea8

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ dependencies {
7171
androidTestImplementation(libs.espresso.core)
7272
// migrate deprecated deps
7373
// implementation("com.google.accompanist:accompanist-navigation-animation:0.29.1-alpha")
74+
implementation(libs.commonmodule)
7475
implementation("com.google.accompanist:accompanist-systemuicontroller:0.29.1-alpha")
7576
androidTestImplementation(platform(libs.compose.bom))
7677
androidTestImplementation(libs.android.test.compose.ui.test.junit4)

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
22
plugins {
33
alias(libs.plugins.androidApplication) apply false
4-
// alias(libs.plugins.androidLibrary) apply false
54
alias(libs.plugins.kotlinAndroid) apply false
65
}
7-
true //
6+
true

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ androidx-window = "1.1.0"
88
applicationId = "pro.jayeshseth.animations"
99
cascade = "2.0.0-rc02"
1010
coil = "2.3.0"
11+
commonmodule = "0.0.3"
1112
compile-sdk = "34"
1213
compose-bom = "2023.09.00"
1314
compose-compiler = "1.5.0"
@@ -71,6 +72,7 @@ coil-kt-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "
7172
coil-kt-svg = { group = "io.coil-kt", name = "coil-svg", version.ref = "coil" }
7273

7374
# Compose
75+
commonmodule = { module = "pro.jayeshseth.madappmodules:commonModules", version.ref = "commonmodule" }
7476
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
7577
compose-material-iconsExtended = { group = "androidx.compose.material3", name = "material3" }
7678
compose-material = { group = "androidx.compose.material", name = "material" }

settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencyResolutionManagement {
1111
repositories {
1212
google()
1313
mavenCentral()
14+
mavenLocal()
1415
}
1516
}
1617
rootProject.name = "Animations"

0 commit comments

Comments
 (0)