Commit 3171a1b2 authored by Stanislav Erokhin's avatar Stanislav Erokhin Committed by intellij-monorepo-bot
Browse files

[kotlin] Add custom plugin repositories to GradleMpp[No]JvmRunConfigurationProducersTest

Since 222 platform we have in KotlinGradlePluginVersions.latest version from
`master` or release branch of Kotlin.
In particular, right before release we do have the `1.7.20-233` version there, and this version considered stable. But this version is not published into gradle plugin portal, so we need
to use custom repositories list to get it.

P.s. it is a bit strange, that we are going to start running these tests on the new version right before release, but it is what it is currently

GitOrigin-RevId: 1dbc021e3e19d1e7251b792efd6ea6ffdda3e1b7
parent 91372e49
Branches unavailable Tags unavailable
No related merge requests found
Showing with 30 additions and 4 deletions
+30 -4
......@@ -109,8 +109,21 @@ class GradleMppJvmRunConfigurationProducersTest4 : GradleTestRunConfigurationPro
""".trimIndent()
)
createProjectSubFile("settings.gradle", GroovyScriptBuilder.groovy {
assign("rootProject.name", "project")
createProjectSubFile("settings.gradle", buildscript {
withPrefix {
code(
"""
pluginManagement {
repositories {
${listRepositories(false, gradleVersion.version)}
}
}
""".trimIndent()
)
}
withPostfix {
assign("rootProject.name", "project")
}
})
createProjectSubFile("build.gradle", buildscript {
......
......@@ -199,8 +199,21 @@ class GradleMppNoJvmRunConfigurationProducersTest216 : GradleTestRunConfiguratio
""".trimIndent()
)
createProjectSubFile("settings.gradle", GroovyScriptBuilder.groovy {
assign("rootProject.name", "project")
createProjectSubFile("settings.gradle", buildscript {
withPrefix {
code(
"""
pluginManagement {
repositories {
${listRepositories(false, gradleVersion.version)}
}
}
""".trimIndent()
)
}
withPostfix {
assign("rootProject.name", "project")
}
})
createProjectSubFile("build.gradle", buildscript {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment