1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-06-06 16:34:04 +02:00

Bump kotlin version from 1.8.21 to 1.9.22

One of the reasons for that is that 1.9.22 allows internal classes to be available in testFixtures from java KT-34901.
This commit is contained in:
Alex Plate 2024-02-07 09:29:15 +02:00
parent 5fd7d83a70
commit 4937985e2c
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
4 changed files with 11 additions and 9 deletions

View File

@ -8,7 +8,7 @@
plugins { plugins {
kotlin("jvm") kotlin("jvm")
kotlin("plugin.serialization") version "1.8.21" kotlin("plugin.serialization") version "1.9.22"
} }
val kotlinxSerializationVersion: String by project val kotlinxSerializationVersion: String by project

View File

@ -44,7 +44,7 @@ buildscript {
} }
dependencies { dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22")
classpath("com.github.AlexPl292:mark-down-to-slack:1.1.2") classpath("com.github.AlexPl292:mark-down-to-slack:1.1.2")
classpath("org.eclipse.jgit:org.eclipse.jgit:6.6.0.202305301015-r") classpath("org.eclipse.jgit:org.eclipse.jgit:6.6.0.202305301015-r")
@ -66,7 +66,7 @@ buildscript {
plugins { plugins {
antlr antlr
java java
kotlin("jvm") version "1.8.21" kotlin("jvm") version "1.9.22"
application application
id("org.jetbrains.intellij") version "1.17.0" id("org.jetbrains.intellij") version "1.17.0"
@ -78,7 +78,7 @@ plugins {
id("org.jetbrains.kotlinx.kover") version "0.6.1" id("org.jetbrains.kotlinx.kover") version "0.6.1"
id("com.dorongold.task-tree") version "2.1.1" id("com.dorongold.task-tree") version "2.1.1"
id("com.google.devtools.ksp") version "1.8.21-1.0.11" id("com.google.devtools.ksp") version "1.9.22-1.0.17"
} }
ksp { ksp {
@ -233,7 +233,9 @@ tasks {
compileKotlin { compileKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = javaVersion jvmTarget = javaVersion
apiVersion = "1.6" // See https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
// For the list of bundled versions
apiVersion = "1.9"
freeCompilerArgs = listOf("-Xjvm-default=all-compatibility") freeCompilerArgs = listOf("-Xjvm-default=all-compatibility")
// allWarningsAsErrors = true // allWarningsAsErrors = true
} }
@ -241,7 +243,7 @@ tasks {
compileTestKotlin { compileTestKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = javaVersion jvmTarget = javaVersion
apiVersion = "1.6" apiVersion = "1.9"
// allWarningsAsErrors = true // allWarningsAsErrors = true
} }
} }

View File

@ -19,7 +19,7 @@ antlrVersion=4.10.1
# Please don't forget to update kotlin version in buildscript section # Please don't forget to update kotlin version in buildscript section
# Also update kotlinxSerializationVersion version # Also update kotlinxSerializationVersion version
kotlinVersion=1.8.21 kotlinVersion=1.9.22
publishToken=token publishToken=token
publishChannels=eap publishChannels=eap

View File

@ -10,7 +10,7 @@ plugins {
java java
kotlin("jvm") kotlin("jvm")
// id("org.jlleitschuh.gradle.ktlint") // id("org.jlleitschuh.gradle.ktlint")
id("com.google.devtools.ksp") version "1.8.21-1.0.11" id("com.google.devtools.ksp") version "1.9.22-1.0.17"
`maven-publish` `maven-publish`
antlr antlr
} }
@ -77,7 +77,7 @@ tasks {
compileKotlin { compileKotlin {
kotlinOptions { kotlinOptions {
apiVersion = "1.5" apiVersion = "1.9"
freeCompilerArgs = listOf("-Xjvm-default=all-compatibility") freeCompilerArgs = listOf("-Xjvm-default=all-compatibility")
} }
} }