Skip to content

Comments

Upgrade micronaut to v5#694

Merged
lissam1 merged 5 commits intomicronaut-projects:5.0.xfrom
ayoube-ait:upgrade-micronaut-to-v5
Feb 3, 2026
Merged

Upgrade micronaut to v5#694
lissam1 merged 5 commits intomicronaut-projects:5.0.xfrom
ayoube-ait:upgrade-micronaut-to-v5

Conversation

@ayoube-ait
Copy link
Contributor

@ayoube-ait ayoube-ait commented Jan 5, 2026

Summary

  • Upgrade Micronaut to 5.0.0-M6
  • Use groovy version from Micronaut catalog
  • Configure descriptor and BOM for Micronaut 5 build requirements

Closes #686

@CLAassistant
Copy link

CLAassistant commented Jan 5, 2026

CLA assistant check
All committers have signed the CLA.

@ayoube-ait ayoube-ait force-pushed the upgrade-micronaut-to-v5 branch from f220ca7 to a0d8cb3 Compare January 5, 2026 11:23
@ayoube-ait ayoube-ait force-pushed the upgrade-micronaut-to-v5 branch from a0d8cb3 to 22dfe10 Compare January 5, 2026 11:29
@lissam1 lissam1 requested review from lissam1 January 5, 2026 13:56
Comment on lines 8 to 11
descriptor {
parentModuleId = "io.micronaut.groovy:micronaut-runtime-groovy"
}
}
Copy link
Member

Choose a reason for hiding this comment

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

we ship two submodules micronaut-runtime-groovy and micronaut-function-groovy.
i think we need to add descriptor in each submodule build file with the correct name as i mentioned before.

Comment on lines -6 to -7
groovy = "4.0.18"
spock = "2.3-groovy-4.0"
Copy link
Member

Choose a reason for hiding this comment

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

we can keep using groovy version from catalog.
groovy = "5.0.3"
spock = "2.4-groovy-5.0"


dependencies {
api platform("org.apache.groovy:groovy-bom:${libs.versions.groovy.get()}")
api platform("org.apache.groovy:groovy-bom:${mn.versions.groovy.get()}")
Copy link
Member

Choose a reason for hiding this comment

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

we can keep using groovy version from catalog.
groovy = "5.0.3"
spock = "2.4-groovy-5.0"

- Remove descriptor from shared groovy-module.gradle
- Add descriptor to function-groovy with correct parentModuleId
- Add descriptor to runtime-groovy with correct parentModuleId
- Remove manual groovy/spock versions (use catalog)
- Remove groovy-test dependency (use catalog)
@ayoube-ait ayoube-ait marked this pull request as ready for review January 12, 2026 15:51
dependencies {
compileOnly platform(mn.micronaut.core.bom)
}

Copy link
Member

Choose a reason for hiding this comment

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

@sdelamo could you confirm please

@lissam1 lissam1 requested a review from sdelamo January 13, 2026 08:45
@github-project-automation github-project-automation bot moved this to Backlog in 5.0.0-M1 Jan 13, 2026
@lissam1 lissam1 merged commit 69e24fa into micronaut-projects:5.0.x Feb 3, 2026
5 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in 5.0.0-M1 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

Groovy to Core Milestone

3 participants