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

Marc Reichelt

10/25/2019, 11:38 AM
Hi there! I activated Kotlin Native / Multiplatform in our Android project using the tutorial on https://play.kotlinlang.org/hands-on/Targeting%20iOS%20and%20Android%20with%20Kotlin%20Multiplatform/ - and I get an error on our CI server when trying to run the gradle task `app:lintVitalRelease`:
Copy code
> Task :app:prepareLintJar
> Task :app:lintVitalRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Configuration with name 'compileClasspath' not found.
The full stacktrace is:
a

Artyom Degtyarev [JB]

10/25/2019, 11:52 AM
I suppose, this is the most recent chat on this issue. Might be helpful https://kotlinlang.slack.com/archives/C0B8M7BUY/p1562889967129900
👍 1
m

Marc Reichelt

10/25/2019, 11:53 AM
Thanks, that looks like the problem I have - but it’s crucial if we want to adopt KMP
r

ribesg

10/25/2019, 12:00 PM
It’s fixed in 1.3.60 and the workaround is easy:
configurations.create("compileClasspath")
👍 1
m

Marc Reichelt

10/25/2019, 12:00 PM
Nice, and the workaround is really easy:
Copy code
configurations.create("compileClasspath")
Thank you, @Artyom Degtyarev [JB]
And thank you as well @ribesg 🙂