Skip to content

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Aug 25, 2025

Enhanced ProfileUtil and GradleDependency to support Gradle dependency variants (e.g., platform() or testFixtures()) in profile definitions. Updated profile.yml files to move variant and devtools dependencies from build.gradle into the profile metadata, and added integration test dependency to the web profile. This change improves consistency and flexibility in dependency management for Grails profiles.

Enhanced ProfileUtil and GradleDependency to support Gradle dependency variants (e.g., platform()) in profile definitions. Updated profile.yml files to move variant and devtools dependencies from build.gradle into the profile metadata, and added integration test dependency to the web profile. This change improves consistency and flexibility in dependency management for Grails profiles.
Copy link
Contributor

@dauer dauer left a comment

Choose a reason for hiding this comment

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

Looks correct to me!

A test would have been nice, especially for the ProfileUtil

@jamesfredley
Copy link
Contributor Author

@dauer #14700 - issue to bring back profile tests

# Conflicts: #	grails-shell-cli/src/main/groovy/org/grails/cli/profile/commands/io/GradleDependency.groovy
@jamesfredley jamesfredley merged commit 0c944d3 into 7.0.x Aug 26, 2025
28 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Aug 26, 2025
@jamesfredley jamesfredley deleted the gradle-module-variant branch August 26, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants