From 85105d3306583b8787f19fe6b079c874c03759c7 Mon Sep 17 00:00:00 2001 From: EmptyIrony Date: Mon, 4 Nov 2024 16:01:56 +0800 Subject: [PATCH] support k2 mode --- build.gradle.kts | 4 ++-- gradle.properties | 2 +- src/main/resources/META-INF/plugin.xml | 6 +++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0fea5e7..7230064 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { id("java") - kotlin("jvm") version "1.9.25" + kotlin("jvm") version "2.0.20" id("org.jetbrains.intellij") version "1.17.4" id("com.github.johnrengelman.shadow") version "8.1.1" } @@ -20,7 +20,7 @@ dependencies { } intellij { - version.set("2024.2.0.2") + version.set("2024.2.1") plugins.addAll( "java", diff --git a/gradle.properties b/gradle.properties index 84b9b8c..75a4199 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ kotlin.stdlib.default.dependency=false pluginSinceBuild=232 -version=1.2-SNAPSHOT +version=1.3-SNAPSHOT kotlin.code.style=official kotlin.experimental.tryK2=true kapt.use.k2=true \ No newline at end of file diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 14576fa..d3e716e 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -10,7 +10,7 @@ ]]> ! + Compatible with k2! ]]> com.intellij.modules.platform @@ -18,6 +18,10 @@ com.intellij.modules.lang org.jetbrains.kotlin + + + +