Skip to content
Merged
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
69 changes: 41 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# GitHub Actions Workflow is created for testing and preparing the plugin release in the following steps:
# - Validate Gradle Wrapper.
# - Run 'test' and 'verifyPlugin' tasks.
# - Run Qodana inspections.
# - Run the 'buildPlugin' task and prepare artifact for further tests.
Expand Down Expand Up @@ -36,24 +35,27 @@ jobs:
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
steps:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false

# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v3
uses: actions/checkout@v6

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v5

# Set environment variables
- name: Export Properties
Expand Down Expand Up @@ -88,7 +90,7 @@ jobs:

# Store already-built plugin as an artifact for downloading
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.artifact.outputs.filename }}
path: ./build/distributions/content/*/*
Expand All @@ -100,20 +102,29 @@ jobs:
runs-on: ubuntu-latest
steps:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false

# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
uses: actions/checkout@v6

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true

# Run tests
- name: Run Tests
Expand All @@ -124,7 +135,7 @@ jobs:
# Collect Tests Result of failed tests
- name: Collect Tests Result
if: ${{ failure() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests
Expand All @@ -148,25 +159,25 @@ jobs:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@main
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false

# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
uses: actions/checkout@v6

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21

# Run Qodana inspections
- name: Qodana - Code Inspection
uses: JetBrains/qodana-action@v2024.1.5
uses: JetBrains/qodana-action@v2025.1.1
with:
cache-default-branch-only: true

Expand All @@ -179,25 +190,27 @@ jobs:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@main
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false

# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
uses: actions/checkout@v6

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true


# Cache Plugin Verifier IDEs
Expand All @@ -214,7 +227,7 @@ jobs:
# Collect Plugin Verifier Result
- name: Collect Plugin Verifier Result
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: pluginVerifier-result
path: ${{ github.workspace }}/build/reports/pluginVerifier
Expand All @@ -232,7 +245,7 @@ jobs:

# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
uses: actions/checkout@v6

# Remove old release drafts by using the curl request for the available releases with a draft flag
- name: Remove Old Release Drafts
Expand All @@ -254,4 +267,4 @@ jobs:
--notes "$(cat << 'EOM'
${{ needs.build.outputs.changelog }}
EOM
)"
)"
18 changes: 13 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,31 @@ jobs:
pull-requests: write
steps:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
large-packages: false

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.release.tag_name }}

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
gradle-home-cache-cleanup: true

# Set environment variables
Expand Down Expand Up @@ -100,4 +108,4 @@ jobs:
--title "Changelog update - \`$VERSION\`" \
--body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
--label "$LABEL" \
--head $BRANCH
--head $BRANCH
11 changes: 6 additions & 5 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,20 @@ jobs:

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v4
uses: actions/checkout@v6

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
gradle-home-cache-cleanup: true

# Run IDEA prepared for UI testing
Expand All @@ -62,4 +63,4 @@ jobs:

# Run tests
- name: Tests
run: ./gradlew test
run: ./gradlew test
8 changes: 4 additions & 4 deletions .github/workflows/runTest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ jobs:
build-for-ui-test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: 17
java-version: 21
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
with:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

- name: Save fails report
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v6
with:
name: ui-test-fails-report-windows
path: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

## [Unreleased]

- 2025.3 update
- compatibility: replace deprecated `Messages.showDialog(...)` overload flagged by Plugin Verifier

## [3.4.2-stable.243] - 2025-08-10

- bug fix: Specify Read/Write Action types on some EDT Thread tasks
Expand Down
11 changes: 6 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import org.gradle.internal.impldep.org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
import org.jetbrains.intellij.platform.gradle.TestFrameworkType


Expand Down Expand Up @@ -31,8 +31,8 @@ version = properties("pluginVersion").get()

// Set the JVM language level used to build the project.
kotlin {
jvmToolchain(17)
// jvmToolchain(21)
// jvmToolchain(17)
jvmToolchain(21)
}

// Configure project's dependencies
Expand All @@ -51,7 +51,7 @@ var remoteRobotVersion = "0.11.23"
dependencies {
// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
intellijPlatform {
create(properties("platformType"), properties("platformVersion"))
intellijIdea(properties("platformVersion"))
// intellijIdeaCommunity("2024.3.3")

// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
Expand Down Expand Up @@ -161,7 +161,8 @@ intellijPlatform {

ides {

ide(properties("platformType"),properties("platformVersion"))
create(IntelliJPlatformType.IntellijIdea, properties("platformVersion")) {
}
// local(file("/path/to/ide/"))
recommended()
// select {
Expand Down
18 changes: 9 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@ pluginRepositoryUrl = https://github.com/cschar/power-mode-zeranthium
#pluginVersion = 3.4.0-eap.242
#pluginVersion = 3.4.1-stable.251
#pluginVersion = 3.4.1-stable.243
pluginVersion = 3.4.2-stable.243
# pluginVersion = 3.5.0-stable.243
pluginVersion = 3.5.0-stable.253

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# when running ./gradlew :verifyPlugin, will start at below VERSION_NUM and check all going forward
# report .html files will appear in ./build/reports/pluginVerifier/IC-<VERSION_NUM>/report.html
pluginSinceBuild = 243
#pluginSinceBuild = 251
# pluginSinceBuild = 243
pluginSinceBuild = 253

# Not specifying until-build means it will include all future builds.
#pluginUntilBuild = 242.*
# pluginUntilBuild = 243.*


# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
# type -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#intellij-extension-type
platformType = IC
# IntelliJ IDEA 2025.3+ uses the unified product artifact instead of the legacy IC artifact.
#/#platformVersion = 2023.2.6

# latest build
# https://youtrack.jetbrains.com/articles/IDEA-A-21/IDEA-Latest-Builds-And-Release-Notes
# Find the platformVersion there
#platformVersion = 251.18673.35
#platformVersion = 243.24978.46
platformVersion = 2024.3.3
# platformVersion = 2024.3.3
platformVersion = 2025.3.3

#platformVersion = LATEST-EAP-SNAPSHOT

Expand All @@ -46,7 +46,7 @@ platformPlugins =
platformBundledPlugins =

# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion = 8.8
gradleVersion = 9.4.0

# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency = false
Expand Down
7 changes: 6 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ exampleLibrary = "24.1.0"

# plugins
changelog = "2.2.0"
intelliJPlatform = "2.2.1"
# intelliJPlatform = "2.2.1"

# https://plugins.gradle.org/plugin/org.jetbrains.intellij.platform
# https://github.com/JetBrains/intellij-platform-gradle-plugin/tags
#intelliJPlatform = "2.9.0"
intelliJPlatform = "2.13.1"
kotlin = "2.1.10"
kover = "0.8.0"
qodana = "2024.1.5"
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Loading
Loading