Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<module name="ExplicitInitialization">
<property name="severity" value="info"/>
</module>
<module name="ExpressionOverBlockLambda"/>
<module name="FinalClass"/>
<module name="FinalParameters"/>
<module name="GenericWhitespace"/>
Expand Down Expand Up @@ -144,6 +145,7 @@
<module name="UnnecessarySemicolonInTryWithResources"/>
<module name="UnusedImports"/>
<module name="UnusedLocalVariable"/>
<module name="UnusedPrivateField"/>
<!-- Disabled by default; should be enabled on Java 25+ -->
<!-- <module name="UnusedTryResourceShouldBeUnnamed"/> -->
<module name="UpperEll"/>
Expand Down
2 changes: 1 addition & 1 deletion .config/pmd/java/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/>
<rule ref="category/java/errorprone.xml/UnnecessaryCaseChange"/>
<rule ref="category/java/errorprone.xml/UnsupportedJdkApiUsage"/>
<rule ref="category/java/errorprone.xml/UselessPureMethodCall"/>
<rule ref="category/java/errorprone.xml/UnusedReturnValue"/>


<rule ref="category/java/multithreading.xml">
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
Expand All @@ -109,7 +109,7 @@ jobs:
${{ runner.os }}-gradle-checkstyle-

- name: Run Checkstyle
run: ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled --stacktrace
run: ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled --stacktrace -x compileJava -x compileTestJava -x classes -x testClasses

pmd:
runs-on: ubuntu-latest
Expand All @@ -123,7 +123,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-ide-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: 25
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
java-version: '25'
distribution: 'temurin'
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: 25
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v7

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: 25
Expand Down
22 changes: 14 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ plugins {
}

ext {
checkstyleVersion = '13.11.0'
checkstyleVersion = '14.1.0'

pmdVersion = '7.26.0'
pmdVersion = '7.27.0'
}

def properties(String key) {
Expand Down Expand Up @@ -48,12 +48,18 @@ import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType

// Add dependencies to test, junit5 api (annotations) and engine (runtime)
dependencies {
intellijPlatform {
create(properties("platformType"), properties("platformVersion"))
bundledPlugins(properties("platformBundledPlugins").map { it.split(",").collect { it.trim() }.findAll { !it.empty } })
plugins(properties("platformPlugins").map { it.split(",").collect { it.trim() }.findAll { !it.empty } })
pluginVerifier()
zipSigner()
// Downloading 3GB of IntelliJ is not needed for CheckStyle
if (!project.hasProperty("checkstyleEnabled")) {
intellijPlatform {
create(properties("platformType"), properties("platformVersion")) {
// PMD 7.27: This will otherwise crash because PMD assumes all files are ZIP files
useInstaller = !project.hasProperty("pmdEnabled")
}
bundledPlugins(properties("platformBundledPlugins").map { it.split(",").collect { it.trim() }.findAll { !it.empty } })
plugins(properties("platformPlugins").map { it.split(",").collect { it.trim() }.findAll { !it.empty } })
pluginVerifier()
zipSigner()
}
}
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
pmd "net.sourceforge.pmd:pmd-ant:${pmdVersion}",
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pluginName=
pluginVersion=
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType=IU
platformVersion=2026.2.0.1
platformVersion=2026.2.1
platformSinceBuild=261
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformBundledPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Expand Down