Skip to content

Conversation

@musketyr
Copy link
Collaborator

No description provided.

@musketyr musketyr requested a review from Copilot July 28, 2025 13:18
Copy link

Copilot AI left a 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

Comment on lines +20 to 21
mavenCentral()
gradlePluginPortal()
Copy link

Copilot AI Jul 28, 2025

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.

Suggested change
mavenCentral()
gradlePluginPortal()
gradlePluginPortal()
mavenCentral()

Copilot uses AI. Check for mistakes.
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"
Copy link

Copilot AI Jul 28, 2025

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.

Copilot uses AI. Check for mistakes.
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
Copy link

Copilot AI Jul 28, 2025

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.

Suggested change
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip

Copilot uses AI. Check for mistakes.
@musketyr musketyr merged commit 5a11d68 into master Jul 28, 2025
3 checks passed
@musketyr musketyr deleted the chore/migrate-to-new-maven-central-publishing branch July 28, 2025 13:36
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