diff options
Diffstat (limited to 'settings.gradle')
-rw-r--r-- | settings.gradle | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/settings.gradle b/settings.gradle index 49dfe419..6afeae6a 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,19 +1,9 @@ pluginManagement { -// repositories { -// gradlePluginPortal() -// jcenter() -// // this one is for kotlin-frontend-plugin -// maven { url "https://dl.bintray.com/kotlin/kotlin-eap" } -// } - resolutionStrategy { - eachPlugin { - if (requested.id.id == "kotlin-multiplatform" || requested.id.id == "kotlin2js") { - useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}") - } -// if (requested.id.id == "org.jetbrains.kotlin.frontend") { -// useModule("org.jetbrains.kotlin:kotlin-frontend-plugin:${requested.version}") -// } - } + // keep this as long as the Gradle plugin is used in EAP version + repositories { + maven { url "https://dl.bintray.com/kotlin/kotlin-eap" } + gradlePluginPortal() + jcenter() } } |