Skip to content

Commit 0bf5915

Browse files
authored
Update Kotlin version to 1.9.22 (#181)
1 parent 20d0342 commit 0bf5915

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22

3-
kotlin = "1.8.20"
3+
kotlin = "1.9.22"
44

55
javaDiffUtils = "4.12"
66
junit = "5.9.2"

src/functionalTest/kotlin/kotlinx/validation/api/TestDsl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.intellij.lang.annotations.Language
1313
public val API_DIR: String = ApiValidationExtension().apiDumpDirectory
1414

1515
internal fun BaseKotlinGradleTest.test(
16-
gradleVersion: String = "7.4.2",
16+
gradleVersion: String = "8.5",
1717
injectPluginClasspath: Boolean = true,
1818
fn: BaseKotlinScope.() -> Unit
1919
): GradleRunner {

src/functionalTest/resources/examples/gradle/base/multiplatformWithJvmTargets.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ kotlin {
2121
testRuns["test"].executionTask.configure {
2222
useJUnit()
2323
}
24+
attributes {
25+
attribute(Attribute.of("variant", String::class.java), "a")
26+
}
2427
}
2528
jvm("anotherJvm") {
2629
compilations.all {
@@ -29,6 +32,9 @@ kotlin {
2932
testRuns["test"].executionTask.configure {
3033
useJUnit()
3134
}
35+
attributes {
36+
attribute(Attribute.of("variant", String::class.java), "b")
37+
}
3238
}
3339
}
3440
sourceSets {

0 commit comments

Comments
 (0)