Skip to content

Commit af26d2f

Browse files
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.
1 parent 46e26f2 commit af26d2f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
# Axon Framework plugin Changelog
44

5+
## [0.9.0]
6+
- Plugin is now compatible with IDEA 2024.3 (IDEA 243.*) with minimum version of 2024.3
7+
- Make plugin compatible with the K2 mode of IntelliJ IDEA
8+
59
## [0.8.9]
610
- Fix false highlights about non existing properties when they are defined in a superclass #307 Thanks to @guymahieu
711

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ plugins {
2727
// Java support
2828
id("java")
2929
// Kotlin support
30-
id("org.jetbrains.kotlin.jvm") version "1.9.22"
30+
id("org.jetbrains.kotlin.jvm") version "2.1.0"
3131
// Gradle IntelliJ Plugin
3232
id("org.jetbrains.intellij.platform") version "2.1.0"
3333
// Gradle Changelog Plugin

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
# Basic plugin information
1919
pluginGroup=io.axoniq.ide.intellij
2020
pluginName=Axon Framework
21-
pluginVersion=0.8.9
21+
pluginVersion=0.9.0
2222
axonVersion=4.10.1
2323
javaVersion = 17
2424

2525
# Define the plugin version range. This is used to determine the compatibility of the plugin with the IDE.
2626
pluginSinceBuild = 242
2727
pluginUntilBuild = 243.*
28-
platformVersion = 2024.2
28+
platformVersion = 2024.3
2929

3030
# Opt-out flag for bundling Kotlin standard library.
3131
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.

src/main/resources/META-INF/plugin.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@
123123
<errorHandler implementation="org.axonframework.intellij.ide.plugin.support.AxonErrorReportSubmitter"/>
124124
</extensions>
125125

126+
<extensions defaultExtensionNs="org.jetbrains.kotlin">
127+
<supportsKotlinPluginMode supportsK2="true" />
128+
</extensions>
129+
126130
<actions>
127131
<action id="AxonReferenceGuideAction" text="Axon Reference Guide"
128132
class="org.axonframework.intellij.ide.plugin.actions.AxonReferenceGuideAction">

0 commit comments

Comments
 (0)