Add a hint to the message about not found Kotlin Gradle plugin version

Issue #KT-19788
This commit is contained in:
Dmitriy Dolovov
2019-03-11 18:14:32 +07:00
parent 6ba0a182bb
commit 77ab15ec65
@@ -67,6 +67,13 @@ internal class KotlinNativeLibrariesDependencySubstitutor(
Unexpectedly can't obtain Kotlin Gradle plugin version for ${gradleModule.name} module.
Build classpath is ${classpathData.classpathEntries.flatMap { it.classesFile }}.
${KotlinNativeLibrariesDependencySubstitutor::class.java.simpleName} will run in idle mode. No dependencies will be substituted.
Hint: Please make sure that you have explicitly specified version of Kotlin Gradle plugin in `plugins { }` section.
Example:
plugins {
kotlin("multiplatform") version "1.3.30"
}
""".trimIndent()
)