-
Notifications
You must be signed in to change notification settings - Fork 1
migrate to new maven central publishing #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate to new maven central publishing #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the project from legacy Maven Central publishing setup to a more modern publishing configuration, also updating copyright notices to 2025 and removing an obsolete library.
- Updates from old Kordamp/Nexus publishing plugins to newer Gradle Maven Publish Plugin
- Upgrades Gradle from 6.5 to 8.8 and modernizes GitHub Actions workflows
- Removes the deprecated Grails Job Testing Support library entirely
Reviewed Changes
Copilot reviewed 46 out of 47 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| settings.gradle | Replaces plugin management block with buildscript dependencies for new publishing approach |
| gradle.properties | Updates Kordamp version and switches to Maven Central publish plugin |
| gradle/wrapper/gradle-wrapper.properties | Upgrades Gradle wrapper from 6.5 to 8.8 |
| .github/workflows/* | Modernizes CI workflows with newer Java and action versions |
| libs/grails-job-testing-support/* | Completely removes this library module |
| Multiple source files | Updates copyright year from 2021 to 2025 |
| docs/guide/src/docs/asciidoc/index.adoc | Removes documentation for deleted library and updates repository references |
| mavenCentral() | ||
| gradlePluginPortal() |
Copilot
AI
Jul 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Adding mavenCentral() as the first repository is good practice, but consider if gradlePluginPortal() should also be first since it's typically the primary source for Gradle plugins.
| mavenCentral() | |
| gradlePluginPortal() | |
| gradlePluginPortal() | |
| mavenCentral() |
| classpath "org.kordamp.gradle:guide-gradle-plugin:$kordampVersion" | ||
| classpath "org.kordamp.gradle:coveralls-gradle-plugin:$kordampVersion" | ||
| classpath 'org.ajoberstar:gradle-git-publish:2.1.3' | ||
| classpath "com.vanniktech:gradle-maven-publish-plugin:$mavenCentralPublishPluginVersion" |
Copilot
AI
Jul 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable mavenCentralPublishPluginVersion is referenced but not defined in this file. Ensure this variable is properly defined in gradle.properties or consider using a hardcoded version for clarity.
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip |
Copilot
AI
Jul 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider using the 'all' distribution instead of 'bin' (gradle-8.8-all.zip) to include sources and documentation, which can be helpful for IDE integration and debugging.
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip | |
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip |
No description provided.