Skip to content

Commit 4de6fd8

Browse files
Mikhael BogdanovSpace
Mikhael Bogdanov
authored and
Space
committed
Prepare NewMultiplatformIT tests for compiler migration to 1.6
1 parent c304363 commit 4de6fd8

File tree

1 file changed

+8
-8
lines changed
  • libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle

1 file changed

+8
-8
lines changed

libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/NewMultiplatformIT.kt

+8-8
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ class NewMultiplatformIT : BaseGradleIT() {
705705
"\n" + """
706706
kotlin.sourceSets.all {
707707
languageSettings {
708-
languageVersion = "1.3"
709-
apiVersion = "1.3"
708+
languageVersion = "1.4"
709+
apiVersion = "1.4"
710710
}
711711
}
712712
""".trimIndent()
@@ -716,7 +716,7 @@ class NewMultiplatformIT : BaseGradleIT() {
716716
build(it) {
717717
assertSuccessful()
718718
assertTasksExecuted(":$it")
719-
assertContains("-language-version 1.3", "-api-version 1.3")
719+
assertContains("-language-version 1.4", "-api-version 1.4")
720720
}
721721
}
722722
}
@@ -727,8 +727,8 @@ class NewMultiplatformIT : BaseGradleIT() {
727727
"\n" + """
728728
kotlin.sourceSets.all {
729729
it.languageSettings {
730-
// languageVersion = '1.3' // can't do this with Kotlin/Native 1.4+, done below for non-Native tasks
731-
// apiVersion = '1.3' // can't do this with Kotlin/Native 1.4+, done below for non-Native tasks
730+
// languageVersion = '1.4'
731+
// apiVersion = '1.4'
732732
enableLanguageFeature('InlineClasses')
733733
optInAnnotation('kotlin.ExperimentalUnsignedTypes')
734734
optInAnnotation('kotlin.contracts.ExperimentalContracts')
@@ -758,8 +758,8 @@ class NewMultiplatformIT : BaseGradleIT() {
758758
"\n" + """
759759
kotlin.sourceSets.all {
760760
it.languageSettings {
761-
languageVersion = '1.3'
762-
apiVersion = '1.3'
761+
languageVersion = '1.4'
762+
apiVersion = '1.4'
763763
}
764764
}
765765
""".trimIndent()
@@ -769,7 +769,7 @@ class NewMultiplatformIT : BaseGradleIT() {
769769
build(it) {
770770
assertSuccessful()
771771
assertTasksExecuted(":$it")
772-
assertContains("-language-version 1.3", "-api-version 1.3")
772+
assertContains("-language-version 1.4", "-api-version 1.4")
773773
}
774774
}
775775
}

0 commit comments

Comments
 (0)