Replies: 3 comments
-
Can you share more details about your build setup? Hard to tell from this |
Beta Was this translation helpful? Give feedback.
0 replies
-
Gradle file for the shared module with plugins {
kotlin("multiplatform")
id("com.android.library")
id("org.jetbrains.compose")
kotlin("plugin.serialization")
id("kotlin-parcelize")
}
android {
namespace = "work.racka.rickmorty.circuit.shared"
compileSdk = libs.versions.config.android.compilesdk.get().toInt()
defaultConfig {
minSdk = libs.versions.config.android.minsdk.get().toInt()
targetSdk = libs.versions.config.android.targetsdk.get().toInt()
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.android.compiler.get()
}
}
kotlin {
android()
jvm("desktop")
sourceSets {
val commonMain by getting {
dependencies {
// Circuit
implementation(libs.slack.circuit.core)
// Other
implementation(compose.runtime)
implementation(compose.ui)
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val androidMain by getting {
dependencies {
implementation(libs.bundles.android.core)
implementation(libs.bundles.android.lifecycle)
implementation(libs.bundles.compose.core)
}
}
val androidTest by getting
val desktopMain by getting {
dependencies {
implementation(compose.runtime)
implementation(libs.coroutines.swing)
}
}
val desktopTest by getting
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for the delay, holidays and all. Is this still an issue? We're using a few releases at this point and believe we've cleaned up all artifact coordinate issues |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to replicate the counter sample.
After adding the core dependency for circuit in commonMain I can't import anything from Circuit. They are all unresolved
Beta Was this translation helpful? Give feedback.
All reactions