[Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2192 for compatibility tests
KT-54825
This commit is contained in:
committed by
Space Team
parent
7e1ad71996
commit
0fa92315ff
@@ -4,7 +4,7 @@
|
||||
* Version of kotlin-gradle-plugin-idea module that should be resolved for compatibility tests
|
||||
* This version can be treated as 'minimal guaranteed backwards compatible version' of the module.
|
||||
*/
|
||||
val testedVersion = "1.7.20-dev-2127"
|
||||
val testedVersion = "1.8.20-dev-2192"
|
||||
|
||||
val isSnapshotTest = properties.contains("kgp-idea.snapshot_test")
|
||||
val resolvedTestedVersion = if (isSnapshotTest) properties["defaultSnapshotVersion"].toString() else testedVersion
|
||||
@@ -13,6 +13,7 @@ val resolvedTestedVersion = if (isSnapshotTest) properties["defaultSnapshotVersi
|
||||
|
||||
repositories {
|
||||
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap")
|
||||
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-ide-plugin-dependencies")
|
||||
}
|
||||
|
||||
if (isSnapshotTest) {
|
||||
@@ -36,6 +37,12 @@ dependencies {
|
||||
incomingClasspath(kotlin("gradle-plugin-idea", resolvedTestedVersion))
|
||||
incomingClasspath(testFixtures(kotlin("gradle-plugin-idea", resolvedTestedVersion)))
|
||||
incomingClasspath(kotlin("gradle-plugin-idea-proto", resolvedTestedVersion))
|
||||
|
||||
incomingClasspath.resolutionStrategy {
|
||||
force(kotlin("stdlib", bootstrapKotlinVersion))
|
||||
force(kotlin("test-junit", bootstrapKotlinVersion))
|
||||
force(kotlin("gradle-plugin-annotations", bootstrapKotlinVersion)) // Remove after this is available under 'testedVersion'
|
||||
}
|
||||
}
|
||||
|
||||
val syncClasspath by tasks.register<Sync>("syncClasspath") {
|
||||
|
||||
Reference in New Issue
Block a user