Skip to content

Gradle build script update: improvements to the two-stage build process with a signing in the middle#12

Merged
ForNeVeR merged 1 commit intomainfrom
update-for-gradle-build-script-for-plugin-singing
Mar 25, 2026
Merged

Gradle build script update: improvements to the two-stage build process with a signing in the middle#12
ForNeVeR merged 1 commit intomainfrom
update-for-gradle-build-script-for-plugin-singing

Conversation

@ikopylov
Copy link
Copy Markdown
Collaborator

@ikopylov ikopylov commented Mar 16, 2026

Build script update: buildPlugin task was rolled back to its original state to minimize problems with dependent tasks. Additional verification step added to buildPlugin. preparePluginForSigning renamed to preparePluginInternalsForSigning

intellij-platform-gradle-plugin provides tasks for signing the archive itself and for publishing. And these tasks are strictly depends on original buildPlugin task. Previous implementation of the build script reimplemented the buildPlugin task, which will result in errors if someone decides to use the publishing task. My attempts to unwire tasks led to a large amount of hard to support code, that's why it is better to keep original version of buildPlugin. This approach was implemented for EzArgs plugin ( JetBrains/EzArgs#50 ) and for EnhancedUnrealEngineDocumentation ( JetBrains/EnhancedUnrealEngineDocumentation#30 ). It make sense to port these changes to this plugin too

…al state (with additional versification step) to minimize problems with dependent tasks. "preparePluginForSigning" renamed to "preparePluginInternalsForSigning"
@ikopylov ikopylov force-pushed the update-for-gradle-build-script-for-plugin-singing branch from e676a21 to 94d4d07 Compare March 17, 2026 12:33
@ikopylov ikopylov marked this pull request as ready for review March 17, 2026 12:42
@ForNeVeR ForNeVeR merged commit e191305 into main Mar 25, 2026
10 checks passed
@ForNeVeR ForNeVeR deleted the update-for-gradle-build-script-for-plugin-singing branch March 25, 2026 16:08
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.

3 participants