Skip to content

Conversation

@jdaugherty
Copy link
Contributor

This PR restores the functionality prior to the micronaut removal. I've left the API changes that Scott introduced, but I've restored the war deployment handling & afterLoading() calls so that it loads correctly in bootJar & bootRun.

@jamesfredley
Copy link
Contributor

jamesfredley commented Jul 12, 2025

grails.util.Metadata.current.getEnvironment() looks good on

./gradlew bootRun

./gradlew bootWar
java -jar ./build/ibs/demo-0.1.war

./gradlew bootJar
java -jar ./build/libs/demo-0.1.jar

@jdaugherty
Copy link
Contributor Author

Since this is a revert, and it fixes, I am going to go ahead and merge. @matrei let me know if you feel this needs further changes

@jdaugherty jdaugherty merged commit d8eed54 into 7.0.x Jul 12, 2025
33 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Jul 12, 2025
@jdaugherty jdaugherty deleted the issue13705-metadataFix branch July 12, 2025 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants