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

spierce7

06/21/2019, 5:32 PM
I just spent a few days converting my teams Android project that was using the
kotlin-platform-x
gradle plugins to use the
multiplatform
plugin. I'm now getting the following error in my builds. Does anyone have any recommendations? I'm a bit stuck now:
Copy code
> Task :app:lintVitalInternalRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalInternalRelease'.
> Configuration with name 'compileClasspath' not found.
r

russhwolf

06/21/2019, 6:10 PM
Probably https://youtrack.jetbrains.com/issue/KT-27170. There’s a workaround in there for either groovy or kotlin build scripts.
That workaround is in the new project templates but if you’re converting from something older you wouldn’t have seen it
s

spierce7

06/21/2019, 7:09 PM
Thank you. Adding
Copy code
configurations {
        compileClasspath
    }
to my
subprojects
block seems to have fixed it.
👍 1