Added the gradle plugin SNAPSHOT version support for some tests.

`ImportAndCheckNavigation` and `GradleMultiplatformHighlightingTest` now
use the SNAPSHOT version of the gradle plugin also.
This commit is contained in:
Alexander Dudinsky
2020-07-15 18:57:21 +03:00
parent 80022cccd9
commit 27e7116f60
8 changed files with 18 additions and 57 deletions
@@ -1,21 +1,19 @@
buildscript {
repositories {
maven("https://dl.bintray.com/kotlin/kotlin-dev") // TODO: use the Gradle plugin from the current build
mavenCentral()
{{kts_kotlin_plugin_repositories}}
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.0-dev-7568") // TODO: use the Gradle plugin from the current build
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
}
}
plugins {
kotlin("multiplatform")
kotlin("multiplatform").version("{{kotlin_plugin_version}}")
}
repositories {
maven("https://dl.bintray.com/kotlin/kotlin-dev") // TODO: use the Gradle plugin from the current build
mavenCentral()
{{kts_kotlin_plugin_repositories}}
}
kotlin {
@@ -1,16 +1,8 @@
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.name == "multiplatform") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.0-dev-7568") // TODO: use the Gradle plugin from the current build
}
}
}
repositories {
maven("https://dl.bintray.com/kotlin/kotlin-dev") // TODO: use the Gradle plugin from the current build
gradlePluginPortal()
{{kts_kotlin_plugin_repositories}}
}
}
rootProject.name = "test"