Closed lamba92 closed 5 years ago
In your settings.gradle, add proper resolution for it. This is an example for settings.gradle.kts, translating it to groovy shouldn't be too hard :
settings.gradle
settings.gradle.kts
val kotlin_frontend_version: String by settings pluginManagement { repositories { gradlePluginPortal() maven { name = "Kotlin EAP (for kotlin-frontend-plugin)" url = uri("https://dl.bintray.com/kotlin/kotlin-eap") } } resolutionStrategy { eachPlugin { when (requested.id.id) { "org.jetbrains.kotlin.frontend" -> useModule("org.jetbrains.kotlin:kotlin-frontend-plugin:$kotlin_frontend_version") // Other custom plugin resolution } } } }
Then in build.gradle (again, this is kts, but it's pretty much the same) :
build.gradle
kts
plugins { id("org.jetbrains.kotlin.frontend") }
In your
settings.gradle
, add proper resolution for it. This is an example forsettings.gradle.kts
, translating it to groovy shouldn't be too hard :Then in
build.gradle
(again, this iskts
, but it's pretty much the same) :