Skip to content

Commit

Permalink
Merge pull request #9 from AndroidPoet/main
Browse files Browse the repository at this point in the history
core and features modules moved to sub-folders
  • Loading branch information
skydoves authored Oct 31, 2022
2 parents 36366a6 + 0132eec commit 8048204
Show file tree
Hide file tree
Showing 96 changed files with 34 additions and 34 deletions.
14 changes: 7 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ android {

dependencies {
// core modules
implementation(project(":core-designsystem"))
implementation(project(":core-navigation"))
implementation(project(":core-data"))
implementation(project(":core:designsystem"))
implementation(project(":core:navigation"))
implementation(project(":core:data"))

// feature modules
implementation(project(":feature-camera"))
implementation(project(":feature-chats"))
implementation(project(":feature-status"))
implementation(project(":feature-calls"))
implementation(project(":features:camera"))
implementation(project(":features:chats"))
implementation(project(":features:status"))
implementation(project(":features:calls"))

// material
implementation(libs.androidx.appcompat)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class AndroidFeatureConventionPlugin : Plugin<Project> {
val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")

dependencies {
add("implementation", project(":core-designsystem"))
add("implementation", project(":core-navigation"))
add("implementation", project(":core-uistate"))
add("implementation", project(":core-data"))
add("implementation", project(":core:designsystem"))
add("implementation", project(":core:navigation"))
add("implementation", project(":core:uistate"))
add("implementation", project(":core:data"))

add("implementation", libs.findLibrary("kotlinx.coroutines.android").get())
}
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions core-data/build.gradle.kts → core/data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {
}

dependencies {
api(project(":core-model"))
api(project(":core-network"))
api(project(":core-database"))
api(project(":core:model"))
api(project(":core:network"))
api(project(":core:database"))
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
}

dependencies {
implementation(project(":core-model"))
implementation(project(":core:model"))

implementation(libs.androidx.room.runtime)
implementation(libs.androidx.room.ktx)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
}

dependencies {
implementation(project(":core-model"))
implementation(project(":core:model"))

implementation(libs.kotlinx.coroutines.android)
api(libs.androidx.navigation.compose)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ plugins {
}

dependencies {
implementation(project(":core-model"))
implementation(project(":core:model"))

api(libs.okhttp.logging)
api(libs.retrofit.core)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ kotlin {
}

dependencies {
implementation(project(":core-model"))
implementation(project(":core:model"))

implementation(libs.androidx.compose.runtime)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ plugins {

dependencies {
// core modules
implementation(project(":core-uistate"))
implementation(project(":core-data"))
implementation(project(":core:uistate"))
implementation(project(":core:data"))

implementation(libs.androidx.lifecycle.runtimeCompose)
implementation(libs.androidx.lifecycle.viewModelCompose)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ plugins {

dependencies {
// core modules
implementation(project(":core-uistate"))
implementation(project(":core-network"))
implementation(project(":core-data"))
implementation(project(":core:uistate"))
implementation(project(":core:network"))
implementation(project(":core:data"))

// Stream chat Compose
api(libs.stream.compose)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 11 additions & 11 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ dependencyResolutionManagement {
}
rootProject.name = "WhatsAppCloneCompose"
include(":app")
include(":core-designsystem")
include(":core-navigation")
include(":core-model")
include(":core-network")
include(":core-database")
include(":core-data")
include(":core-uistate")
include(":feature-camera")
include(":feature-chats")
include(":feature-status")
include(":feature-calls")
include(":core:designsystem")
include(":core:navigation")
include(":core:model")
include(":core:network")
include(":core:database")
include(":core:data")
include(":core:uistate")
include(":features:camera")
include(":features:chats")
include(":features:status")
include(":features:calls")
include(":benchmark")

0 comments on commit 8048204

Please sign in to comment.