Hi friends! Not sure where to ask this... :sweat_s...
# random
p
Hi friends! Not sure where to ask this... 😅 I have my
build.gradle.kts
with:
Copy code
...
plugins {
    kotlin("multiplatform") version "2.2.20"
    alias("com.github.ben-manes.versions") version "0.52.0"
    ...
}

...
sourceSets {
    ...
    commonTest {
        dependencies {
            implementation(kotlin("test"))
            ...
        }
    }
    ...
}
When I run (Gradle 9):
Copy code
./gradlew --no-parallel dependencyUpdates
I get:
Copy code
Failed to compare versions for the following dependencies because they were declared without version:
 - org.jetbrains.kotlin:kotlin-test
I checked the versions plugin repository for any clues on how to omit / resolve this warning, but no luck. Does anyone have a suggestion of what I could do? 😊 Thanks!
e
I suppose you could
Copy code
kotlin("test", coreLibrariesVersion)
?
gratitude thank you 1
🔥 1
in a non-KMP project I usually
Copy code
dependencies {
    implementation(platform(kotlin("bom")))
}
to get all the Kotlin versions in sync but I dunno about KMP
gratitude thank you 1
🔥 2
p
That's brilliant, it worked like a charm! Thank you, @ephemient! gratitude thank you