Skip to content

Support IntelliJ Platform Gradle Plugin 2 - #1767

Merged
bulldozer-bot[bot] merged 4 commits into
developfrom
finlayw/external-publish-2.0.0
Sep 8, 2026
Merged

bulldozer-bot[bot] merged 4 commits into
developfrom
finlayw/external-publish-2.0.0

Conversation

@FinlayRJW

Copy link
Copy Markdown
Contributor

Before this PR

gradle-external-publish-plugin 2.0.0 uses IntelliJ Platform Gradle Plugin 2.x. This repository still uses its removed 1.x DSL and cannot consume the release. JetBrains documents the required changes in the migration guide.

After this PR

==COMMIT_MSG==
==COMMIT_MSG==

The build consumes gradle-external-publish-plugin 2.0.0 and uses the IntelliJ Platform 2.x DSL. Existing IntelliJ versions, compatibility bounds, metadata, bundled plugins, and verifier targets remain unchanged.

Testing

  • The IntelliJ plugin tests pass.
  • buildPlugin passes.
  • Formatting, Error Prone, and Checkstyle checks pass.

Possible downsides?

None known.

Are Docs needed?

No.

@changelog-app

changelog-app Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Generate changelog in changelog/@unreleased

Type (Select exactly one)

  • Feature (Adding new functionality)
  • Improvement (Improving existing functionality)
  • Fix (Fixing an issue with existing functionality)
  • Break (Creating a new major version by breaking public APIs)
  • Deprecation (Removing functionality in a non-breaking way)
  • Migration (Automatically moving data/functionality to a new system)

Description

Support IntelliJ Platform Gradle Plugin 2

Check the box to generate changelog(s)

  • Generate changelog entry

@changelog-app

changelog-app Bot commented Sep 1, 2026

Copy link
Copy Markdown

✅ Successfully generated changelog entry!

Need to regenerate?

Simply interact with the changelog bot comment again to regenerate these entries.


📋Changelog Preview

💡 Improvements

  • Support IntelliJ Platform Gradle Plugin 2 (#1767)

@FinlayRJW
FinlayRJW marked this pull request as draft September 7, 2026 09:24
@FinlayRJW FinlayRJW closed this Sep 7, 2026
@FinlayRJW FinlayRJW reopened this Sep 7, 2026
@FinlayRJW
FinlayRJW marked this pull request as ready for review September 7, 2026 09:26
@FinlayRJW
FinlayRJW requested a review from crogoz September 7, 2026 13:19
Comment thread idea-plugin/build.gradle
Comment on lines +74 to +75
testFramework(TestFrameworkType.Platform.INSTANCE)
testFramework(TestFrameworkType.Plugin.Java.INSTANCE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit - are these required atm ? I don't think they are used.

@FinlayRJW FinlayRJW Sep 8, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hmm I think they are used? without them CI fails with:

* What went wrong:
Execution failed for task ':idea-plugin:compileTestJava'.
> Compilation failed; see the compiler output below.
  /home/circleci/project/idea-plugin/src/test/java/com/palantir/javaformat/intellij/PalantirJavaFormatFormattingServiceTest.java:33: error: cannot find symbol
  import com.intellij.testFramework.ExtensionTestUtil;
                                   ^
    symbol:   class ExtensionTestUtil
    location: package com.intellij.testFramework
  17 errors

* Try:
> Check your code and dependencies to fix the compilation error(s)
> Run with --scan to get full insights.

https://app.circleci.com/pipelines/github/palantir/palantir-java-format/8353/workflows/b3767516-cc90-42fb-8c10-bbd1b76eec0a/jobs/34594

Comment thread idea-plugin/build.gradle
Comment thread idea-plugin/build.gradle Outdated
@FinlayRJW
FinlayRJW requested a review from crogoz September 8, 2026 09:41
@bulldozer-bot
bulldozer-bot Bot merged commit ef84a05 into develop Sep 8, 2026
7 checks passed
@bulldozer-bot
bulldozer-bot Bot deleted the finlayw/external-publish-2.0.0 branch September 8, 2026 12:10
@autorelease3

autorelease3 Bot commented Sep 8, 2026

Copy link
Copy Markdown

Released 2.98.0

This creates a tag and GitHub release. Additional build or deployment steps may still be in progress.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants