Skip to content

Improve publishing#169

Merged
alexander-yevsyukov merged 6 commits intomasterfrom
improve-publishing
Apr 20, 2026
Merged

Improve publishing#169
alexander-yevsyukov merged 6 commits intomasterfrom
improve-publishing

Conversation

@alexander-yevsyukov
Copy link
Copy Markdown
Contributor

This PR applies latest config thus improving the code of publishing. It was hoped that the size of fat JARs for IntelliJ Platform would be reduced. But it turned out that there were no duplications of .class files which we observed in CoreJvm Compiler artifacts. Still, now the build tunes the ShadowJar task to avoid the duplication. So, we're on the safe side.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8f4d5bff1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

val content = file.readText()
val pluginId = Regex.escape(id)
// Regex to match: id("pluginId") version "version-number"
val regex = """id\("$pluginId"\)\s+version\s+"([^"]+)"""".toRegex()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Match closing quote in plugin version regex

The pattern used to match id("…") version "…" is missing the trailing quote after the captured version, so replacement leaves the original closing quote in place and writes invalid Kotlin DSL like version "2.0.0"". This will corrupt every updated build.gradle.kts file when this task runs for non-Kotlin plugin IDs.

Useful? React with 👍 / 👎.

@alexander-yevsyukov alexander-yevsyukov merged commit a5092a6 into master Apr 20, 2026
6 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the improve-publishing branch April 20, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants