Skip to content

Commit 1b5ceda

Browse files
committed
Flow artefact name fix (take 2)
1 parent 4cf2d71 commit 1b5ceda

8 files changed

Lines changed: 32 additions & 20 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ tasks.register("runLifecycleTests") {
106106
}
107107

108108
tasks.register("runCommonflowTests") {
109-
dependsOn(":commonflow:viewmodel:allTests")
109+
dependsOn(":commonflow:commonflow-viewmodel:allTests")
110110
description = "Run unit tests for the commonflow library."
111111
}
112112

commonflow/compose/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ kotlin {
9393
sourceSets {
9494
commonMain.dependencies {
9595
api(project(":commonstatemachine"))
96-
api(project(":commonflow:data"))
96+
api(project(":commonflow:commonflow-data"))
9797
api(libs.composeMultiplatform.runtime)
9898
api(libs.composeMultiplatform.foundation)
9999
}

commonflow/viewmodel/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ kotlin {
9494
commonMain.dependencies {
9595
api(project(":commonstatemachine"))
9696
api(project(":coroutines"))
97-
api(project(":commonflow:compose"))
97+
api(project(":commonflow:commonflow-compose"))
9898
api(libs.composeMultiplatform.viewmodel)
9999
implementation(libs.composeMultiplatform.lifecycle)
100100
}

examples/books/app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ android {
8787

8888
dependencies {
8989
implementation(project(":commonstatemachine"))
90-
implementation(project(":commonflow:data"))
91-
implementation(project(":commonflow:compose"))
92-
implementation(project(":commonflow:viewmodel"))
90+
implementation(project(":commonflow:commonflow-data"))
91+
implementation(project(":commonflow:commonflow-compose"))
92+
implementation(project(":commonflow:commonflow-viewmodel"))
9393

9494
implementation(project(":examples:commoncore"))
9595
implementation(project(":examples:androidcore"))

examples/books/book/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ android {
6161
dependencies {
6262
implementation(project(":commonstatemachine"))
6363
implementation(project(":coroutines"))
64-
implementation(project(":commonflow:data"))
64+
implementation(project(":commonflow:commonflow-data"))
6565

6666
implementation(project(":examples:commoncore"))
6767
implementation(project(":examples:androidcore"))

examples/books/book/demo/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ android {
8787

8888
dependencies {
8989
implementation(project(":commonstatemachine"))
90-
implementation(project(":commonflow:data"))
91-
implementation(project(":commonflow:compose"))
92-
implementation(project(":commonflow:viewmodel"))
90+
implementation(project(":commonflow:commonflow-data"))
91+
implementation(project(":commonflow:commonflow-compose"))
92+
implementation(project(":commonflow:commonflow-viewmodel"))
9393

9494
implementation(project(":examples:commoncore"))
9595
implementation(project(":examples:androidcore"))

examples/di/api/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ android {
5858

5959
dependencies {
6060
api(project(":commonstatemachine"))
61-
api(project(":commonflow:data"))
62-
api(project(":commonflow:compose"))
61+
api(project(":commonflow:commonflow-data"))
62+
api(project(":commonflow:commonflow-compose"))
6363

6464
coreLibraryDesugaring(libs.desugaring)
6565

settings.gradle.kts

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,22 @@ dependencyResolutionManagement {
3333
}
3434
}
3535
rootProject.name = "CommonStateMachine"
36+
37+
// Libraries
38+
include(":tmap")
39+
include(":commonstatemachine")
40+
include(":coroutines")
41+
include(":lifecycle")
42+
include(":platformtest")
43+
include(":commonflow:data")
44+
project(":commonflow:data").name = "commonflow-data"
45+
include(":commonflow:compose")
46+
project(":commonflow:compose").name = "commonflow-compose"
47+
include(":commonflow:viewmodel")
48+
project(":commonflow:viewmodel").name = "commonflow-viewmodel"
49+
50+
// Examples
3651
include(
37-
":tmap",
38-
":commonstatemachine",
39-
":coroutines",
40-
":commonflow:data",
41-
":commonflow:compose",
42-
":commonflow:viewmodel",
43-
":lifecycle",
44-
":platformtest",
4552
":examples:commoncore",
4653
":examples:androidcore",
4754
":examples:welcome:welcome",
@@ -64,3 +71,8 @@ include(
6471
":examples:books:book:demo",
6572
":examples:books:app"
6673
)
74+
75+
76+
77+
78+

0 commit comments

Comments
 (0)