Skip to content

Refactor plugin structure: migrate to IntelliJ Platform Gradle Plugin… - #130

Open
mayconsgs wants to merge 2 commits into
mainfrom
feature/fix-project-structure
Open

mayconsgs wants to merge 2 commits into
mainfrom
feature/fix-project-structure

Conversation

@mayconsgs

Copy link
Copy Markdown
Member

This pull request performs a major modernization and cleanup of the build system and project configuration for the IntelliJ theme plugin. The key changes include migrating to the latest IntelliJ Platform Gradle Plugin and Gradle versions, updating the CI workflow to use current tools and JDK 21, raising the minimum supported IDE version, and removing obsolete configuration and code. These updates improve maintainability, compatibility, and build reliability.

Build system and plugin configuration modernization:

  • Migrated to IntelliJ Platform Gradle Plugin 2.x and Gradle 9.8, updating gradle.properties and gradle-wrapper.properties accordingly, and raised the minimum supported IDE version to 2024.2 (build 242) (gradle.properties, gradle/wrapper/gradle-wrapper.properties, CHANGELOG.md) [1] [2] [3].
  • Updated the Gradle wrapper and its script (gradlew) to the latest, POSIX-compliant version with improved documentation and compatibility (gradlew) [1] [2].

Continuous Integration (CI) improvements:

  • Rewrote the GitHub Actions workflow in .github/workflows/build.yml to use JDK 21, latest GitHub Actions, modern Gradle setup, and streamlined steps for build, verification, and release draft creation (.github/workflows/build.yml).

Project cleanup:

  • Removed unused template/sample code, as well as detekt and ktlint configuration files, since the plugin no longer contains Kotlin code (CHANGELOG.md, detekt-config.yml) [1] [2].

Documentation and metadata updates:

  • Updated the changelog to reflect the new version, dependency updates, and removals, clarifying the scope of recent changes (CHANGELOG.md).… 2.x, update Gradle to 9.8, and remove unused code and dependencies

Changes proposed

Additional context

… 2.x, update Gradle to 9.8, and remove unused code and dependencies
@mayconsgs
mayconsgs requested a balanced review from Copilot October 6, 2026 15:24
@mayconsgs mayconsgs self-assigned this Oct 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unbounded recommended IDE verification will continually expand and make CI increasingly resource-intensive.

Review effort: Balanced
Findings: None

What changed in this PR

Modernizes the IntelliJ theme plugin’s build, CI, compatibility baseline, and removes obsolete Kotlin template code.

Changes:

  • Migrates to Gradle 9.8 and IntelliJ Platform Gradle Plugin 2.x.
  • Updates CI to JDK 21 and current GitHub Actions.
  • Removes unused services, listeners, localization, and lint configuration.
File Description
.github/​workflows/​build.yml Modernizes build, verification, and release jobs.
.gitignore Ignores IntelliJ Platform build data.
CHANGELOG.md Documents modernization and removals.
build.gradle.kts Migrates build and publishing configuration.
detekt-config.yml Removes obsolete lint configuration.
gradle.properties Updates versions and platform baseline.
gradle/​wrapper/​gradle-wrapper.properties Upgrades the Gradle distribution.
gradlew Updates the POSIX wrapper script.
gradlew.bat Updates the Windows wrapper script.
src/​main/​kotlin/​com/​github/​getomni/​jetbrains/​MyBundle.kt Removes the unused message bundle helper.
src/​main/​kotlin/​com/​github/​getomni/​jetbrains/​listeners/​MyProjectManagerListener.kt Removes the sample listener.
src/​main/​kotlin/​com/​github/​getomni/​jetbrains/​services/​MyApplicationService.kt Removes the sample application service.
src/​main/​kotlin/​com/​github/​getomni/​jetbrains/​services/​MyProjectService.kt Removes the sample project service.
src/​main/​resources/​META-INF/​plugin.xml Removes obsolete service and listener registrations.
src/​main/​resources/​messages/​MyBundle.properties Removes unused localized messages.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

… job

Co-authored-by: mayconsgs <59394133+mayconsgs@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The coordinated Gradle, plugin, wrapper, compatibility, and release-pipeline migration requires successful end-to-end CI validation and final human review.

Review effort: Balanced
Findings: None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants