Skip to content

Commit

Permalink
Enable support for K2 mode of the Kotlin compiler
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CodeDrivenMitch committed Dec 16, 2024
1 parent 46e26f2 commit af26d2f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
<errorHandler implementation="org.axonframework.intellij.ide.plugin.support.AxonErrorReportSubmitter"/>
</extensions>

<extensions defaultExtensionNs="org.jetbrains.kotlin">
<supportsKotlinPluginMode supportsK2="true" />
</extensions>

<actions>
<action id="AxonReferenceGuideAction" text="Axon Reference Guide"
class="org.axonframework.intellij.ide.plugin.actions.AxonReferenceGuideAction">
Expand Down

0 comments on commit af26d2f

Please sign in to comment.