Skip to content

Commit 2cbf343

Browse files
committed
Update to put full path in extends to allow custom profiles to be defined as dependencies to other profiles
1 parent acfe2b7 commit 2cbf343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/profiles/tasks/ProfileCompilerTask.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class ProfileCompilerTask extends AbstractCompile {
111111
if(!profileData.containsKey("extends")) {
112112
List<String> dependencies = []
113113
project.configurations.getByName("runtime").allDependencies.all() { Dependency d ->
114-
dependencies.add(d.name)
114+
dependencies.add("${d.group}:${d.name}:${d.version}".toString())
115115
}
116116
profileData.put("extends", dependencies.join(','))
117117
}

0 commit comments

Comments
 (0)