Skip to content

Commit 59a9347

Browse files
authored
2026.1 upgrade (#1236)
1 parent 3a50bb2 commit 59a9347

File tree

10 files changed

+70
-70
lines changed

10 files changed

+70
-70
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false # set this to true if you want to cancel all builds if one fails.
1919
matrix:
20-
IDEA_VERSION: [2025.3]
20+
IDEA_VERSION: [2026.1]
2121
OS: [macos-15-intel, ubuntu-latest, windows-latest]
2222

2323
runs-on: ${{ matrix.OS }}

.github/workflows/prerelease.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: true # cancel all builds if one fails.
4242
matrix:
43-
IDEA_VERSION: [2025.3]
43+
IDEA_VERSION: [2026.1]
4444
needs: prepare
4545
runs-on: ubuntu-latest
4646
steps:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
fail-fast: true # cancel all builds if one fails.
5151
matrix:
52-
IDEA_VERSION: [ 2025.3 ]
52+
IDEA_VERSION: [ 2026.1 ]
5353
needs: prepare
5454
runs-on: ubuntu-latest
5555
steps:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## 1.8.0
3+
* Support for intellij 2026.1
4+
25
## 1.7.11
36
* Bugfix: Extern classes with a constructor that extends other classes should no longer warn about missing super call.
47
* Bugfix: `case` keyword was not sugested in nested switch statements.

build.gradle.kts

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ plugins {
1515
// Java support
1616
id("java")
1717
// Kotlin support
18-
id("org.jetbrains.kotlin.jvm") version "2.2.0"
18+
id("org.jetbrains.kotlin.jvm") version "2.3.20"
1919
// Gradle IntelliJ Plugin
20-
id("org.jetbrains.intellij.platform") version "2.10.5"
20+
id("org.jetbrains.intellij.platform") version "2.13.1"
2121
// Gradle Changelog Plugin
22-
id("org.jetbrains.changelog") version "2.0.0"
22+
id("org.jetbrains.changelog") version "2.5.0"
2323
// Gradle Qodana Plugin
24-
id("org.jetbrains.qodana") version "2025.1.1"
24+
id("org.jetbrains.qodana") version "2025.3.2"
2525
// Gradle Kover Plugin
2626
id("org.jetbrains.kotlinx.kover") version "0.9.1"
2727
// generate parser and lexer
28-
id("org.jetbrains.grammarkit") version "2023.3.0.1"
28+
id("org.jetbrains.grammarkit") version "2023.3.0.3"
2929
// console output for tests
30-
id("com.adarshr.test-logger") version "3.2.0"
30+
id("com.adarshr.test-logger") version "4.0.0"
3131
}
3232

3333
group = properties("pluginGroup").get()
@@ -40,12 +40,14 @@ var platformType = properties("platformType").get();
4040
val ideaBaseDir = "${project.rootDir}/idea"
4141
val ideaTargetDir = "${ideaBaseDir}/idea${platformType}-${platformVersion}"
4242

43+
val lombokDependency = "org.projectlombok:lombok:1.18.44";
44+
4345
dependencies {
4446
implementation("org.commonmark:commonmark:0.21.0")
4547
implementation("org.commonmark:commonmark-ext-autolink:0.21.0")
4648
implementation("org.commonmark:commonmark-ext-gfm-tables:0.21.0")
4749

48-
implementation("tools.jackson.core:jackson-databind:3.0.4")
50+
implementation("tools.jackson.core:jackson-databind:3.1.0")
4951
implementation("org.apache.commons:commons-text:1.14.0")
5052

5153
implementation(project(":common"))
@@ -71,10 +73,10 @@ dependencies {
7173
testCompileOnly(files("${ideaTargetDir}/lib/openapi.jar"))
7274
testCompileOnly(files("${ideaTargetDir}/lib/util.jar"))
7375

74-
compileOnly("org.projectlombok:lombok:1.18.34")
75-
testCompileOnly("org.projectlombok:lombok:1.18.34")
76-
annotationProcessor ("org.projectlombok:lombok:1.18.34")
77-
testAnnotationProcessor ("org.projectlombok:lombok:1.18.34")
76+
compileOnly(lombokDependency)
77+
testCompileOnly(lombokDependency)
78+
annotationProcessor (lombokDependency)
79+
testAnnotationProcessor (lombokDependency)
7880

7981
// TODO upgrade to junit5 (testFramework(TestFrameworkType.JUnit5))
8082
testImplementation("junit:junit:4.13.2")
@@ -89,7 +91,9 @@ dependencies {
8991
bundledPlugins(properties("platformBundledPlugins").map { it.split(',') })
9092

9193
// TODO upgrade to JUnit5
94+
testFramework(TestFrameworkType.Platform)
9295
testFramework(TestFrameworkType.Bundled)
96+
testFramework(TestFrameworkType.Plugin.Java)
9397

9498
}
9599

@@ -117,10 +121,10 @@ subprojects {
117121
}
118122

119123
dependencies {
120-
compileOnly("org.projectlombok:lombok:1.18.34")
121-
testCompileOnly("org.projectlombok:lombok:1.18.34")
122-
annotationProcessor ("org.projectlombok:lombok:1.18.34")
123-
testAnnotationProcessor ("org.projectlombok:lombok:1.18.34")
124+
compileOnly(lombokDependency)
125+
testCompileOnly(lombokDependency)
126+
annotationProcessor (lombokDependency)
127+
testAnnotationProcessor (lombokDependency)
124128

125129
intellijPlatform {
126130

@@ -263,6 +267,11 @@ tasks {
263267
dependsOn("generateLexer")
264268
}
265269

270+
compileKotlin {
271+
dependsOn("generateParser")
272+
dependsOn("generateLexer")
273+
}
274+
266275
processResources {
267276
dependsOn("generateParser")
268277
dependsOn("generateLexer")

gradle.properties

Lines changed: 12 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,24 @@ pluginName = Haxe Toolkit Support
77
pluginRepositoryUrl = https://github.com/HaxeFoundation/intellij-haxe
88

99
# SemVer format -> https://semver.org
10-
pluginVersion = 1.7.11
10+
pluginVersion = 1.8.0
1111

1212
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
1313
platformType = IU
1414
#platformType = IC
1515

1616

1717
#run print product releases to see what's the LATEST-EAP-SNAPSHOT
18-
#platformVersion = 2024.2.1
19-
#platformVersion = 2024.1.7
20-
#platformVersion = 2024.3.1.1
21-
#platformVersion = 2024.3.3
22-
#platformVersion = 2025.1.4.1
2318
#platformVersion = 2025.2.5
24-
platformVersion = 2025.3.2
19+
#platformVersion = 2025.3.2
20+
platformVersion = 261.22158.182
21+
#platformVersion = 2026.1
2522
platformDownloadSources = true
2623

2724
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
2825
# for insight into build numbers and IntelliJ Platform versions.
2926
pluginSinceBuild = 252
30-
pluginUntilBuild = 253.*
27+
pluginUntilBuild = 261.*
3128

3229
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
3330
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
@@ -37,52 +34,24 @@ pluginUntilBuild = 253.*
3734
# Git Modal Commit Interface : https://plugins.jetbrains.com/plugin/26647-git-modal-commit-interface
3835
# OpenGL-Plugin : https://plugins.jetbrains.com/plugin/18470-glsl
3936

40-
# 2025.3
37+
# 2026.1
4138
platformBundledPlugins = com.intellij.java, com.intellij.modules.json
42-
platformPlugins = com.intellij.flex:253.28294.251, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:253.28294.218, intellij.git.commit.modal:253.28294.256
43-
44-
# IC 2025.2
45-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
46-
#platformPlugins = com.intellij.flex:252.23892.360, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:252.23892.201, intellij.git.commit.modal:252.23892.364
47-
48-
# IC 2025.1.3
49-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
50-
#platformPlugins = com.intellij.flex:251.26094.37, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:251.23774.318, intellij.git.commit.modal:251.25410.104
51-
52-
# IC 2025.1
53-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
54-
#platformPlugins = com.intellij.flex:251.23774.318, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:251.23774.318, intellij.git.commit.modal:251.23774.33
39+
platformPlugins = com.intellij.flex:261.22158.182, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:261.22158.185, intellij.git.commit.modal:261.22158.41
5540

56-
# IC 2024.3.x
57-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
58-
#platformPlugins = com.intellij.flex:243.22562.59, OpenGL-Plugin:1.1.4, com.intellij.classic.ui:243.21565.122
59-
60-
# IC 2024.3.1.1
41+
# 2025.3
6142
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
62-
#platformPlugins = com.intellij.flex:243.22562.59, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:243.21565.122
43+
#platformPlugins = com.intellij.flex:253.28294.251, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:253.28294.218, intellij.git.commit.modal:253.28294.256
6344

64-
# IC 2024.3
45+
# IC 2025.2
6546
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
66-
#platformPlugins = com.intellij.flex:243.21565.129, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:243.21565.122
67-
68-
# IU 2024.3
69-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json, JavaScript
70-
#platformPlugins = com.intellij.flex:243.21565.129, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:243.21565.122
71-
72-
# IC 2024.2.1
73-
#platformBundledPlugins = com.intellij.java
74-
#platformPlugins = com.intellij.flex:242.20224.159, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:242.20224.159
75-
76-
# IU 2024.2.1
77-
#platformBundledPlugins = com.intellij.java, JavaScript
78-
#platformPlugins = com.intellij.flex:242.20224.159, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:242.20224.159
47+
#platformPlugins = com.intellij.flex:252.23892.360, OpenGL-Plugin:1.1.6, com.intellij.classic.ui:252.23892.201, intellij.git.commit.modal:252.23892.364
7948

8049

8150
# Java language level used to compile sources and to generate the files for - Java 17 is required since 2022.2
8251
javaVersion = 21
8352

8453
# Gradle Releases -> https://github.com/gradle/gradle/releases
85-
gradleVersion = 8.9
54+
gradleVersion = 9.4.0
8655

8756
# Opt-out flag for bundling Kotlin standard library.
8857
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
fun properties(key: String) = providers.gradleProperty(key)
3+
fun environment(key: String) = providers.environmentVariable(key)
4+
5+
val protocolSrcFolder = "src/main/haxe"
6+
7+
val hxjavaVersion = properties("hxjavaVersion").get()
8+
9+
tasks.register<Exec>("generateCompilerProtocolJavaSource") {
10+
group = "haxe-compiler"
11+
// dependsOn("installHxJava")
12+
13+
inputs.file(File("${protocolSrcFolder}/HaxeCompilerProtocol.hx"))
14+
outputs.upToDateWhen { File("gen/src").exists() }
15+
16+
workingDir = File("src/main/haxe/")
17+
commandLine = listOf("haxe", "-cp", "..", "--jvm", "../../bin/", "-main", "HaxeCompilerProtocol",
18+
"-lib", "hxjava:$hxjavaVersion")
19+
}
20+

hxcpp-debugger-protocol/build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,22 @@ tasks {
3131
}
3232
}
3333

34-
35-
tasks.create<Exec>("installHxJava") {
34+
tasks.register<Exec>("installHxJava") {
3635
group = "hxcpp"
3736
onlyIf({ generateHxcppDebugger })
3837
commandLine = listOf("haxelib", "install", "hxjava", hxjavaVersion, haxeLibChangeVersion)
3938
// if (!logger.isDebugEnabled()) standardOutput = ByteArrayOutputStream() // avoid to much output (loads of empty lines on install)
4039

4140
}
4241

43-
tasks.create<Exec>("installHxcppDebugger") {
42+
tasks.register<Exec>("installHxcppDebugger") {
4443
group = "hxcpp"
4544
onlyIf({ generateHxcppDebugger })
4645
commandLine = listOf("haxelib", "git", "hxcpp-debugger", hxcppDebuggerGit, hxcppDebuggerBranch, haxeLibChangeVersion)
4746
if (!logger.isDebugEnabled()) standardOutput = ByteArrayOutputStream() // avoid to much output (loads of empty lines on install)
4847
}
4948

50-
tasks.create<Exec>("generateDebuggerJavaSource") {
49+
tasks.register<Exec>("generateDebuggerJavaSource") {
5150
group = "hxcpp"
5251
onlyIf({ generateHxcppDebugger })
5352
dependsOn("installHxJava")
@@ -63,7 +62,7 @@ tasks.create<Exec>("generateDebuggerJavaSource") {
6362
}
6463

6564

66-
tasks.create<Delete>("cleanGenerated") {
65+
tasks.register<Delete>("cleanGenerated") {
6766
group = "hxcpp"
6867
delete.add("src/gen/")
6968
}

src/test/java/com/intellij/plugins/haxe/actions/HaxeRenameTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ public void doTest(String newName, int dialogAnswer, Map<String, String> expecte
9090

9191
renameProcessor.doRun();
9292

93-
log.warn("----------");
93+
log.debug("----------");
9494
for (Map.Entry<String, String> entry : renameMap.entrySet()) {
95-
log.warn(String.format("rename entry '%s' => '%s'", entry.getKey(), entry.getValue()));
95+
log.debug(String.format("rename entry '%s' => '%s'", entry.getKey(), entry.getValue()));
9696
}
97-
log.warn("----------");
97+
log.debug("----------");
9898

9999
for (Map.Entry<String, String> entry : expectedRename.entrySet()) {
100100
String key = entry.getKey();

0 commit comments

Comments
 (0)