Skip to content

Commit fd81cfc

Browse files
committed
prepare for 2026.1 release
1 parent 78b8b3e commit fd81cfc

File tree

7 files changed

+51
-61
lines changed

7 files changed

+51
-61
lines changed

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: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ plugins {
1919
// Gradle IntelliJ Plugin
2020
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
2828
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

gradle.properties

Lines changed: 4 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,18 @@ 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
2419
#platformVersion = 2025.3.2
25-
platformVersion = 261.22158.182 # TODO update when 2026.1 is released
20+
platformVersion = 261.22158.182
21+
#platformVersion = 2026.1
2622
platformDownloadSources = true
2723

2824
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
@@ -50,44 +46,12 @@ platformPlugins = com.intellij.flex:261.22158.182, OpenGL-Plugin:1.1.6, com.inte
5046
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
5147
#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
5248

53-
# IC 2025.1.3
54-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
55-
#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
56-
57-
# IC 2025.1
58-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
59-
#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
60-
61-
# IC 2024.3.x
62-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
63-
#platformPlugins = com.intellij.flex:243.22562.59, OpenGL-Plugin:1.1.4, com.intellij.classic.ui:243.21565.122
64-
65-
# IC 2024.3.1.1
66-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
67-
#platformPlugins = com.intellij.flex:243.22562.59, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:243.21565.122
68-
69-
# IC 2024.3
70-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json
71-
#platformPlugins = com.intellij.flex:243.21565.129, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:243.21565.122
72-
73-
# IU 2024.3
74-
#platformBundledPlugins = com.intellij.java, com.intellij.modules.json, JavaScript
75-
#platformPlugins = com.intellij.flex:243.21565.129, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:243.21565.122
76-
77-
# IC 2024.2.1
78-
#platformBundledPlugins = com.intellij.java
79-
#platformPlugins = com.intellij.flex:242.20224.159, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:242.20224.159
80-
81-
# IU 2024.2.1
82-
#platformBundledPlugins = com.intellij.java, JavaScript
83-
#platformPlugins = com.intellij.flex:242.20224.159, OpenGL-Plugin:1.1.3, com.intellij.classic.ui:242.20224.159
84-
8549

8650
# Java language level used to compile sources and to generate the files for - Java 17 is required since 2022.2
8751
javaVersion = 21
8852

8953
# Gradle Releases -> https://github.com/gradle/gradle/releases
90-
gradleVersion = 9.3.1
54+
gradleVersion = 9.4.0
9155

9256
# Opt-out flag for bundling Kotlin standard library.
9357
# 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-9.3.1-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)