Skip to content

Depend on collection/annotation project instead of an artifact #1945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion collection/collection/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ kotlin {
commonMain {
dependencies {
api(libs.kotlinStdlib)
implementation("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
implementation(project(":annotation:annotation"))
implementation(libs.atomicFu)
}
}
Expand Down
2 changes: 1 addition & 1 deletion compose/material3/adaptive/adaptive-layout/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ kotlin {
commonTest {
dependencies {
implementation(libs.kotlinTest)
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
implementation(project(":kruth:kruth"))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ kotlin {
implementation(project(":compose:material3:adaptive:adaptive"))
implementation(project(":compose:ui:ui"))
implementation("org.jetbrains.androidx.window:window-core:1.3.1")
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
}
}

Expand Down
4 changes: 2 additions & 2 deletions graphics/graphics-shapes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ kotlin {
commonMain {
dependencies {
implementation(libs.kotlinStdlib)
implementation("org.jetbrains.compose.collection-internal:collection:1.7.1")
implementation("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
implementation(project(":collection:collection"))
implementation(project(":annotation:annotation"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion lifecycle/lifecycle-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ androidXMultiplatform {
dependencies {
api(libs.kotlinStdlib)
api(libs.kotlinCoroutinesCore)
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion lifecycle/lifecycle-runtime-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ kotlin {
sourceSets {
commonMain {
dependencies {
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
implementation(project(":lifecycle:lifecycle-common"))
api project(":lifecycle:lifecycle-runtime")
api("org.jetbrains.compose.runtime:runtime:1.7.1")
Expand Down
2 changes: 1 addition & 1 deletion lifecycle/lifecycle-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ androidXMultiplatform {
dependencies {
api(libs.kotlinStdlib)
api(project(":lifecycle:lifecycle-common"))
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion lifecycle/lifecycle-viewmodel-savedstate/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ androidXMultiplatform {
sourceSets {
commonMain {
dependencies {
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
api(project(":savedstate:savedstate"))
api(project(":lifecycle:lifecycle-viewmodel"))
api(libs.kotlinStdlib)
Expand Down
2 changes: 1 addition & 1 deletion lifecycle/lifecycle-viewmodel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ androidXMultiplatform {

commonMain {
dependencies {
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
api(libs.kotlinStdlib)
api(libs.kotlinCoroutinesCore)
}
Expand Down
2 changes: 1 addition & 1 deletion savedstate/savedstate/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ androidXMultiplatform {
commonMain {
dependencies {
api(libs.kotlinStdlib)
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
api(projectOrArtifact(":lifecycle:lifecycle-common"))
api(libs.kotlinCoroutinesCore)
api(libs.kotlinSerializationCore)
Expand Down
2 changes: 1 addition & 1 deletion window/window-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ kotlin {
commonMain {
dependencies {
api(libs.kotlinStdlib)
api("org.jetbrains.compose.annotation-internal:annotation:1.7.1")
api(project(":annotation:annotation"))
}
}

Expand Down