https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
i

igor.wojda

10/11/2023, 7:33 AM
I have created two KMP sample projects. These are fresh projects created from InteliJ IDEA with Konsist structural linter dependency and tests configured (develop branch): - konsist-starter-kmp-gradle-kotlin-junit5 - konsist-starter-kmp-gradle-kotlin-kotest https://github.com/LemonAppDev/konsist/tree/develop/samples/starter-projects (
develop
branch) Now few PRs are failing because Renovate is trying to update dependencies in these KMP projects, but these KMP projects are not compatible with the new prerelease version of these "org.jetbrains.kotlin-wrappers" libraries 🤨 https://github.com/LemonAppDev/konsist/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc+author%3Aapp%2Frenovate
Copy code
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:2:16 Unresolved reference: rgb
> Task :compileKotlinJs FAILED
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:19:25 Unresolved reference: px
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:20:31 Unresolved reference: rgb
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:21:21 Unresolved reference: rgb
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:27:27 Unresolved reference: px
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:28:30 Unresolved reference: px
e: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jsMain/kotlin/Welcome.kt:29:27 Unresolved reference: px


> Task :compileKotlinJvm
w: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jvmMain/kotlin/org.example.application/Server.kt:33:13 'static(String, Route.() -> Unit): Route' is deprecated. Please use `staticFiles` or `staticResources` instead
w: file:///home/runner/work/konsist/konsist/samples/starter-projects/konsist-starter-kmp-gradle-kotlin-junit5/src/jvmMain/kotlin/org.example.application/Server.kt:34:17 'resources(String? = ...): Unit' is deprecated. Please use `staticResources` instead
FAILURE: Build failed with an exception.
Failing Build: https://github.com/LemonAppDev/konsist/actions/runs/6460829217/job/17539280881?pr=629
5 Views