Support running import tests on bootstrap version of gradle plugin
This commit is contained in:
committed by
Alexander Dudinsky
parent
b0c96a61ec
commit
005314ce06
@@ -31,6 +31,44 @@ import java.lang.Character.isUpperCase
|
|||||||
import java.nio.file.Files
|
import java.nio.file.Files
|
||||||
import java.nio.file.Path
|
import java.nio.file.Path
|
||||||
|
|
||||||
|
fun Task.dependsOnKotlinPluginInstall() {
|
||||||
|
dependsOn(
|
||||||
|
":kotlin-allopen:install",
|
||||||
|
":kotlin-noarg:install",
|
||||||
|
":kotlin-sam-with-receiver:install",
|
||||||
|
":kotlin-android-extensions:install",
|
||||||
|
":kotlin-build-common:install",
|
||||||
|
":kotlin-compiler-embeddable:install",
|
||||||
|
":native:kotlin-native-utils:install",
|
||||||
|
":kotlin-util-klib:install",
|
||||||
|
":kotlin-util-io:install",
|
||||||
|
":kotlin-compiler-runner:install",
|
||||||
|
":kotlin-daemon-embeddable:install",
|
||||||
|
":kotlin-daemon-client:install",
|
||||||
|
":kotlin-gradle-plugin-api:install",
|
||||||
|
":kotlin-gradle-plugin:install",
|
||||||
|
":kotlin-gradle-plugin-model:install",
|
||||||
|
":kotlin-reflect:install",
|
||||||
|
":kotlin-annotation-processing-gradle:install",
|
||||||
|
":kotlin-test:kotlin-test-common:install",
|
||||||
|
":kotlin-test:kotlin-test-annotations-common:install",
|
||||||
|
":kotlin-test:kotlin-test-jvm:install",
|
||||||
|
":kotlin-test:kotlin-test-js:install",
|
||||||
|
":kotlin-gradle-subplugin-example:install",
|
||||||
|
":kotlin-stdlib-common:install",
|
||||||
|
":kotlin-stdlib:install",
|
||||||
|
":kotlin-stdlib-jdk8:install",
|
||||||
|
":kotlin-stdlib-js:install",
|
||||||
|
":examples:annotation-processor-example:install",
|
||||||
|
":kotlin-script-runtime:install",
|
||||||
|
":kotlin-scripting-common:install",
|
||||||
|
":kotlin-scripting-jvm:install",
|
||||||
|
":kotlin-scripting-compiler-embeddable:install",
|
||||||
|
":kotlin-scripting-compiler-impl-embeddable:install",
|
||||||
|
":kotlin-test-js-runner:install"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
fun Project.projectTest(
|
fun Project.projectTest(
|
||||||
taskName: String = "test",
|
taskName: String = "test",
|
||||||
parallel: Boolean = false,
|
parallel: Boolean = false,
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ sourceSets {
|
|||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
projectTest(parallel = false) {
|
projectTest(parallel = false) {
|
||||||
|
dependsOnKotlinPluginInstall()
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
useAndroidSdk()
|
useAndroidSdk()
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -36,7 +36,7 @@ class HierarchicalMultiplatformProjectImportingTest : MultiplePluginVersionGradl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testImportHMPPFlag() {
|
fun testImportHMPPFlag() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -51,7 +51,7 @@ class HierarchicalMultiplatformProjectImportingTest : MultiplePluginVersionGradl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testImportIntermediateModules() {
|
fun testImportIntermediateModules() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -225,7 +225,7 @@ class HierarchicalMultiplatformProjectImportingTest : MultiplePluginVersionGradl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testJvmWithJavaOnHMPP() {
|
fun testJvmWithJavaOnHMPP() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ import org.junit.Test
|
|||||||
class ImportAndCheckHighlighting : MultiplePluginVersionGradleImportingTestCase() {
|
class ImportAndCheckHighlighting : MultiplePluginVersionGradleImportingTestCase() {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.40+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.40+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testMultiplatformLibrary() {
|
fun testMultiplatformLibrary() {
|
||||||
importAndCheckHighlighting()
|
importAndCheckHighlighting()
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.40+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.40+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testUnresolvedInMultiplatformLibrary() {
|
fun testUnresolvedInMultiplatformLibrary() {
|
||||||
importAndCheckHighlighting(false, false)
|
importAndCheckHighlighting(false, false)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import org.junit.Test
|
|||||||
class ImportAndCheckNavigation : MultiplePluginVersionGradleImportingTestCase() {
|
class ImportAndCheckNavigation : MultiplePluginVersionGradleImportingTestCase() {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.50+")
|
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.50+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testNavigationToCommonizedLibrary() {
|
fun testNavigationToCommonizedLibrary() {
|
||||||
val files = configureAndImportProject()
|
val files = configureAndImportProject()
|
||||||
|
|
||||||
|
|||||||
+20
-16
@@ -21,6 +21,8 @@ import org.junit.After
|
|||||||
import org.junit.Before
|
import org.junit.Before
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
|
|
||||||
|
const val mppImportTestMinVersionForMaster = "6.0+"
|
||||||
|
|
||||||
class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportingTestCase() {
|
class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportingTestCase() {
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
@@ -39,7 +41,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.10+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.10+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testProjectDependency() {
|
fun testProjectDependency() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -217,6 +219,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@PluginTargetVersions(gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testFileCollectionDependency() {
|
fun testFileCollectionDependency() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -235,7 +238,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testUnresolvedDependency() {
|
fun testUnresolvedDependency() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -255,7 +258,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.30+")
|
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.30+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testAndroidDependencyOnMPP() {
|
fun testAndroidDependencyOnMPP() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
createProjectSubFile(
|
createProjectSubFile(
|
||||||
@@ -359,6 +362,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@PluginTargetVersions(gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testTestTasks() {
|
fun testTestTasks() {
|
||||||
val files = configureByFiles()
|
val files = configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -400,7 +404,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.50+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testImportTestsAndTargets() {
|
fun testImportTestsAndTargets() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -427,7 +431,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.50+")
|
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.50+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testSingleAndroidTarget() {
|
fun testSingleAndroidTarget() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -484,7 +488,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.10+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.10+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testDependencyOnRoot() {
|
fun testDependencyOnRoot() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -529,7 +533,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.10+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.10+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testNestedDependencies() {
|
fun testNestedDependencies() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -612,7 +616,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.20+")
|
@PluginTargetVersions(gradleVersion = "5.0+", pluginVersion = "1.3.20+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testDetectAndroidSources() {
|
fun testDetectAndroidSources() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
createProjectSubFile(
|
createProjectSubFile(
|
||||||
@@ -634,7 +638,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
* dependencies in multiplatform project included in composite build
|
* dependencies in multiplatform project included in composite build
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.20+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.20+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testPlatformToCommonExpByInComposite() {
|
fun testPlatformToCommonExpByInComposite() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
@@ -674,7 +678,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
* Test case for issue https://youtrack.jetbrains.com/issue/KT-29757
|
* Test case for issue https://youtrack.jetbrains.com/issue/KT-29757
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.40+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.40+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testJavaTransitiveOnMPP() {
|
fun testJavaTransitiveOnMPP() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
@@ -736,7 +740,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
* Test case for issue https://youtrack.jetbrains.com/issue/KT-28822
|
* Test case for issue https://youtrack.jetbrains.com/issue/KT-28822
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.41+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.41+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testImportBeforeBuild() {
|
fun testImportBeforeBuild() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
@@ -799,7 +803,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.20+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.20+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testProductionOnTestFlag() {
|
fun testProductionOnTestFlag() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
@@ -812,7 +816,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testJvmWithJava() {
|
fun testJvmWithJava() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
@@ -865,7 +869,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testCommonTestTargetPlatform() {
|
fun testCommonTestTargetPlatform() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
@@ -887,7 +891,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.60+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.60+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testIgnoreIncompatibleNativeTestTasks() {
|
fun testIgnoreIncompatibleNativeTestTasks() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject()
|
importProject()
|
||||||
@@ -942,7 +946,7 @@ class NewMultiplatformProjectImportingTest : MultiplePluginVersionGradleImportin
|
|||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+")
|
@PluginTargetVersions(gradleVersion = "4.0+", pluginVersion = "1.3.30+", gradleVersionForLatestPlugin = mppImportTestMinVersionForMaster)
|
||||||
fun testMutableArtifactLists() {
|
fun testMutableArtifactLists() {
|
||||||
configureByFiles()
|
configureByFiles()
|
||||||
importProject(true)
|
importProject(true)
|
||||||
|
|||||||
+7
-47
@@ -45,7 +45,7 @@ abstract class MultiplePluginVersionGradleImportingTestCase : GradleImportingTes
|
|||||||
const val LATEST_SUPPORTED_VERSION = "master"// gradle plugin from current build
|
const val LATEST_SUPPORTED_VERSION = "master"// gradle plugin from current build
|
||||||
|
|
||||||
//should be extended with LATEST_SUPPORTED_VERSION
|
//should be extended with LATEST_SUPPORTED_VERSION
|
||||||
private val KOTLIN_GRADLE_PLUGIN_VERSIONS = listOf(MINIMAL_SUPPORTED_VERSION, LATEST_STABLE_VERSUON)
|
private val KOTLIN_GRADLE_PLUGIN_VERSIONS = listOf(MINIMAL_SUPPORTED_VERSION, LATEST_STABLE_VERSUON, LATEST_SUPPORTED_VERSION)
|
||||||
private val KOTLIN_GRADLE_PLUGIN_VERSION_DESCRIPTION_TO_VERSION = mapOf(
|
private val KOTLIN_GRADLE_PLUGIN_VERSION_DESCRIPTION_TO_VERSION = mapOf(
|
||||||
MINIMAL_SUPPORTED_VERSION to MINIMAL_SUPPORTED_GRADLE_PLUGIN_VERSION,
|
MINIMAL_SUPPORTED_VERSION to MINIMAL_SUPPORTED_GRADLE_PLUGIN_VERSION,
|
||||||
LATEST_STABLE_VERSUON to LATEST_STABLE_GRADLE_PLUGIN_VERSION,
|
LATEST_STABLE_VERSUON to LATEST_STABLE_GRADLE_PLUGIN_VERSION,
|
||||||
@@ -61,7 +61,8 @@ abstract class MultiplePluginVersionGradleImportingTestCase : GradleImportingTes
|
|||||||
@JvmStatic
|
@JvmStatic
|
||||||
@Parameterized.Parameters(name = "{index}: Gradle-{0}, KotlinGradlePlugin-{1}")
|
@Parameterized.Parameters(name = "{index}: Gradle-{0}, KotlinGradlePlugin-{1}")
|
||||||
fun data(): Collection<Array<Any>> {
|
fun data(): Collection<Array<Any>> {
|
||||||
return AbstractModelBuilderTest.SUPPORTED_GRADLE_VERSIONS.flatMap { gradleVersion ->
|
//TODO(auskov): remove extending list of gradle versions when tested version are advanced
|
||||||
|
return (AbstractModelBuilderTest.SUPPORTED_GRADLE_VERSIONS + arrayOf("6.5")).flatMap { gradleVersion ->
|
||||||
KOTLIN_GRADLE_PLUGIN_VERSIONS.map { kotlinVersion ->
|
KOTLIN_GRADLE_PLUGIN_VERSIONS.map { kotlinVersion ->
|
||||||
arrayOf<Any>(
|
arrayOf<Any>(
|
||||||
gradleVersion[0],
|
gradleVersion[0],
|
||||||
@@ -72,33 +73,14 @@ abstract class MultiplePluginVersionGradleImportingTestCase : GradleImportingTes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun repositories(useKts: Boolean, useMaster: Boolean): String {
|
fun repositories(useKts: Boolean): String {
|
||||||
val flatDirs = arrayOf(
|
|
||||||
"libraries/tools/kotlin-gradle-plugin/build/libs",
|
|
||||||
"prepare/compiler-client-embeddable/build/libs",
|
|
||||||
"prepare/compiler-embeddable/build/libs",
|
|
||||||
"libraries/tools/kotlin-gradle-plugin-api/build/libs",
|
|
||||||
"compiler/compiler-runner/build/libs",
|
|
||||||
"libraries/tools/kotlin-gradle-plugin-model/build/libs",
|
|
||||||
"plugins/scripting/scripting-compiler-embeddable/build/libs"
|
|
||||||
)
|
|
||||||
val customRepositories = arrayOf("https://dl.bintray.com/kotlin/kotlin-dev", "http://dl.bintray.com/kotlin/kotlin-eap")
|
val customRepositories = arrayOf("https://dl.bintray.com/kotlin/kotlin-dev", "http://dl.bintray.com/kotlin/kotlin-eap")
|
||||||
val customMavenRepositories = customRepositories.map { if (useKts) "maven(\"$it\")" else "maven { url '$it' } " }.joinToString("\n")
|
val customMavenRepositories = customRepositories.map { if (useKts) "maven(\"$it\")" else "maven { url '$it' } " }.joinToString("\n")
|
||||||
val baseFolder = File(".").absolutePath.replace("\\", "/")
|
|
||||||
val quote = if (useKts) '"' else '\''
|
|
||||||
val flatDirRepositories = if (useMaster)
|
|
||||||
flatDirs.map { "$quote$baseFolder/$it$quote" }.joinToString(
|
|
||||||
",\n",
|
|
||||||
if (useKts) "flatDir { dirs(" else "flatDir { dirs ",
|
|
||||||
if (useKts) ")}" else "}"
|
|
||||||
)
|
|
||||||
else
|
|
||||||
""
|
|
||||||
return """
|
return """
|
||||||
|
mavenLocal()
|
||||||
google()
|
google()
|
||||||
jcenter()
|
jcenter()
|
||||||
$customMavenRepositories
|
$customMavenRepositories
|
||||||
$flatDirRepositories
|
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -106,30 +88,8 @@ abstract class MultiplePluginVersionGradleImportingTestCase : GradleImportingTes
|
|||||||
val unitedProperties = HashMap(properties ?: emptyMap())
|
val unitedProperties = HashMap(properties ?: emptyMap())
|
||||||
unitedProperties["kotlin_plugin_version"] = gradleKotlinPluginVersion
|
unitedProperties["kotlin_plugin_version"] = gradleKotlinPluginVersion
|
||||||
|
|
||||||
unitedProperties["kotlin_plugin_repositories"] = repositories(false, gradleKotlinPluginVersionType == LATEST_SUPPORTED_VERSION)
|
unitedProperties["kotlin_plugin_repositories"] = repositories(false)
|
||||||
unitedProperties["kts_kotlin_plugin_repositories"] = repositories(true, gradleKotlinPluginVersionType == LATEST_SUPPORTED_VERSION)
|
unitedProperties["kts_kotlin_plugin_repositories"] = repositories(true)
|
||||||
|
|
||||||
unitedProperties["extraPluginDependencies"] = if (gradleKotlinPluginVersionType == LATEST_SUPPORTED_VERSION)
|
|
||||||
"""
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$gradleKotlinPluginVersion")
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-compiler-embeddable:$gradleKotlinPluginVersion")
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin-api:$gradleKotlinPluginVersion")
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-compiler-runner:$gradleKotlinPluginVersion")
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-compiler-client-embeddable:$gradleKotlinPluginVersion")
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin-model:$gradleKotlinPluginVersion")
|
|
||||||
""".trimIndent()
|
|
||||||
else
|
|
||||||
""
|
|
||||||
|
|
||||||
unitedProperties["kts_resolution_strategy"] = if (gradleKotlinPluginVersionType == LATEST_SUPPORTED_VERSION)
|
|
||||||
"""resolutionStrategy {
|
|
||||||
eachPlugin {
|
|
||||||
if(requested.id.id == "org.jetbrains.kotlin.multiplatform") {
|
|
||||||
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$gradleKotlinPluginVersion")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}""".trimIndent()
|
|
||||||
else ""
|
|
||||||
return super.configureByFiles(unitedProperties)
|
return super.configureByFiles(unitedProperties)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-2
@@ -48,11 +48,16 @@ public class PluginTargetVersionsRule extends TestWatcher {
|
|||||||
@Nullable
|
@Nullable
|
||||||
private CustomMatcher pluginVersionMatcher;
|
private CustomMatcher pluginVersionMatcher;
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
private CustomMatcher gradleVersionMatcherForLatestPlugin;
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public boolean matches(String gradleVersion, String pluginVersion, boolean isLatestPluginVersion) {
|
public boolean matches(String gradleVersion, String pluginVersion, boolean isLatestPluginVersion) {
|
||||||
boolean matchGradleVersion = gradleVersionMatcher == null || gradleVersionMatcher.matches(gradleVersion);
|
boolean matchGradleVersion = gradleVersionMatcher == null || gradleVersionMatcher.matches(gradleVersion);
|
||||||
if (isLatestPluginVersion) {
|
if (isLatestPluginVersion) {
|
||||||
|
if (gradleVersionMatcherForLatestPlugin != null) {
|
||||||
|
return gradleVersionMatcherForLatestPlugin.matches(gradleVersion);
|
||||||
|
}
|
||||||
return matchGradleVersion;
|
return matchGradleVersion;
|
||||||
}
|
}
|
||||||
boolean pluginVersionMatches = pluginVersionMatcher == null || pluginVersionMatcher.matches(pluginVersion);
|
boolean pluginVersionMatches = pluginVersionMatcher == null || pluginVersionMatcher.matches(pluginVersion);
|
||||||
@@ -68,7 +73,8 @@ public class PluginTargetVersionsRule extends TestWatcher {
|
|||||||
}
|
}
|
||||||
if (pluginTargetVersions == null) return;
|
if (pluginTargetVersions == null) return;
|
||||||
|
|
||||||
gradleVersionMatcher = VersionMatcherRule.produceMatcher("Gradle", new TargetVersionsImpl(pluginTargetVersions.gradleVersion()));
|
gradleVersionMatcher = pluginTargetVersions.gradleVersion().isEmpty() ? null : VersionMatcherRule.produceMatcher("Gradle", new TargetVersionsImpl(pluginTargetVersions.gradleVersion()));
|
||||||
pluginVersionMatcher = VersionMatcherRule.produceMatcher("Plugin", new TargetVersionsImpl(pluginTargetVersions.pluginVersion()));
|
pluginVersionMatcher = pluginTargetVersions.pluginVersion().isEmpty() ? null : VersionMatcherRule.produceMatcher("Plugin", new TargetVersionsImpl(pluginTargetVersions.pluginVersion()));
|
||||||
|
gradleVersionMatcherForLatestPlugin = pluginTargetVersions.gradleVersionForLatestPlugin().isEmpty() ? null : VersionMatcherRule.produceMatcher("Gradle for latest plugin", new TargetVersionsImpl(pluginTargetVersions.gradleVersionForLatestPlugin()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-2
@@ -12,7 +12,9 @@ import java.lang.annotation.*;
|
|||||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||||
public @interface PluginTargetVersions {
|
public @interface PluginTargetVersions {
|
||||||
|
|
||||||
String gradleVersion();
|
String gradleVersion() default "";
|
||||||
|
|
||||||
String pluginVersion();
|
String pluginVersion() default "";
|
||||||
|
|
||||||
|
String gradleVersionForLatestPlugin() default "";
|
||||||
}
|
}
|
||||||
-3
@@ -2,9 +2,6 @@ buildscript {
|
|||||||
repositories {
|
repositories {
|
||||||
{{kts_kotlin_plugin_repositories}}
|
{{kts_kotlin_plugin_repositories}}
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
|||||||
repositories {
|
repositories {
|
||||||
{{kts_kotlin_plugin_repositories}}
|
{{kts_kotlin_plugin_repositories}}
|
||||||
}
|
}
|
||||||
{{kts_resolution_strategy}}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "my-app"
|
rootProject.name = "my-app"
|
||||||
|
|||||||
Vendored
-3
@@ -2,9 +2,6 @@ buildscript {
|
|||||||
repositories {
|
repositories {
|
||||||
{{kts_kotlin_plugin_repositories}}
|
{{kts_kotlin_plugin_repositories}}
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
Vendored
-1
@@ -2,7 +2,6 @@ pluginManagement {
|
|||||||
repositories {
|
repositories {
|
||||||
{{kts_kotlin_plugin_repositories}}
|
{{kts_kotlin_plugin_repositories}}
|
||||||
}
|
}
|
||||||
{{kts_resolution_strategy}}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "my-app"
|
rootProject.name = "my-app"
|
||||||
|
|||||||
-1
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
-3
@@ -3,9 +3,6 @@ version '1.0.0'
|
|||||||
apply plugin: 'kotlin-multiplatform'
|
apply plugin: 'kotlin-multiplatform'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
dependencies {
|
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
|
||||||
repositories {
|
repositories {
|
||||||
{{kotlin_plugin_repositories}}
|
{{kotlin_plugin_repositories}}
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -6,7 +6,6 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.5.2'
|
classpath 'com.android.tools.build:gradle:3.5.2'
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: 'kotlin-multiplatform'
|
apply plugin: 'kotlin-multiplatform'
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.5.2'
|
classpath 'com.android.tools.build:gradle:3.5.2'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-1
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ subprojects {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}"
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:{{kotlin_plugin_version}}")
|
||||||
{{extraPluginDependencies}}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -92,41 +92,7 @@ tasks.withType<Test> {
|
|||||||
onlyIf { !project.hasProperty("noTest") }
|
onlyIf { !project.hasProperty("noTest") }
|
||||||
|
|
||||||
dependsOn(":kotlin-gradle-plugin:validateTaskProperties")
|
dependsOn(":kotlin-gradle-plugin:validateTaskProperties")
|
||||||
dependsOn(
|
dependsOnKotlinPluginInstall()
|
||||||
":kotlin-allopen:install",
|
|
||||||
":kotlin-noarg:install",
|
|
||||||
":kotlin-sam-with-receiver:install",
|
|
||||||
":kotlin-android-extensions:install",
|
|
||||||
":kotlin-build-common:install",
|
|
||||||
":kotlin-compiler-embeddable:install",
|
|
||||||
":native:kotlin-native-utils:install",
|
|
||||||
":kotlin-util-klib:install",
|
|
||||||
":kotlin-util-io:install",
|
|
||||||
":kotlin-compiler-runner:install",
|
|
||||||
":kotlin-daemon-embeddable:install",
|
|
||||||
":kotlin-daemon-client:install",
|
|
||||||
":kotlin-gradle-plugin-api:install",
|
|
||||||
":kotlin-gradle-plugin:install",
|
|
||||||
":kotlin-gradle-plugin-model:install",
|
|
||||||
":kotlin-reflect:install",
|
|
||||||
":kotlin-annotation-processing-gradle:install",
|
|
||||||
":kotlin-test:kotlin-test-common:install",
|
|
||||||
":kotlin-test:kotlin-test-annotations-common:install",
|
|
||||||
":kotlin-test:kotlin-test-jvm:install",
|
|
||||||
":kotlin-test:kotlin-test-js:install",
|
|
||||||
":kotlin-gradle-subplugin-example:install",
|
|
||||||
":kotlin-stdlib-common:install",
|
|
||||||
":kotlin-stdlib:install",
|
|
||||||
":kotlin-stdlib-jdk8:install",
|
|
||||||
":kotlin-stdlib-js:install",
|
|
||||||
":examples:annotation-processor-example:install",
|
|
||||||
":kotlin-script-runtime:install",
|
|
||||||
":kotlin-scripting-common:install",
|
|
||||||
":kotlin-scripting-jvm:install",
|
|
||||||
":kotlin-scripting-compiler-embeddable:install",
|
|
||||||
":kotlin-scripting-compiler-impl-embeddable:install",
|
|
||||||
":kotlin-test-js-runner:install"
|
|
||||||
)
|
|
||||||
|
|
||||||
executable = "${rootProject.extra["JDK_18"]!!}/bin/java"
|
executable = "${rootProject.extra["JDK_18"]!!}/bin/java"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user