From af26d2fd76f0528df613000ee0d6bf4aed42bbc7 Mon Sep 17 00:00:00 2001 From: Mitchell Herrijgers Date: Mon, 16 Dec 2024 16:28:25 +0000 Subject: [PATCH] Enable support for K2 mode of the Kotlin compiler We are lucky. Since we use the UAST everywhere, there are no code changes needed. I tested it with several projects, especially focussing on areas that have differences between Java and Kotlin. --- CHANGELOG.md | 4 ++++ build.gradle.kts | 2 +- gradle.properties | 4 ++-- src/main/resources/META-INF/plugin.xml | 4 ++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75b7808..6e2a651 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ # Axon Framework plugin Changelog +## [0.9.0] +- Plugin is now compatible with IDEA 2024.3 (IDEA 243.*) with minimum version of 2024.3 +- Make plugin compatible with the K2 mode of IntelliJ IDEA + ## [0.8.9] - Fix false highlights about non existing properties when they are defined in a superclass #307 Thanks to @guymahieu diff --git a/build.gradle.kts b/build.gradle.kts index f905a9b..84ab8f1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,7 +27,7 @@ plugins { // Java support id("java") // Kotlin support - id("org.jetbrains.kotlin.jvm") version "1.9.22" + id("org.jetbrains.kotlin.jvm") version "2.1.0" // Gradle IntelliJ Plugin id("org.jetbrains.intellij.platform") version "2.1.0" // Gradle Changelog Plugin diff --git a/gradle.properties b/gradle.properties index 799b718..b63c444 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,14 +18,14 @@ # Basic plugin information pluginGroup=io.axoniq.ide.intellij pluginName=Axon Framework -pluginVersion=0.8.9 +pluginVersion=0.9.0 axonVersion=4.10.1 javaVersion = 17 # Define the plugin version range. This is used to determine the compatibility of the plugin with the IDE. pluginSinceBuild = 242 pluginUntilBuild = 243.* -platformVersion = 2024.2 +platformVersion = 2024.3 # Opt-out flag for bundling Kotlin standard library. # See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details. diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index adbcba7..29a20a3 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -123,6 +123,10 @@ + + + +