Skip to content

Commit 7599835

Browse files
include poms in the plugins dir
This is copying the poms for plugins that we ship in the release into the plugins dir. We still need to rig up core to look for these poms.
1 parent 6b8444b commit 7599835

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gradle/assemble.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,15 @@ task pluginsFromRepo {
110110
]
111111

112112
ext.dir = file("$buildDir/pluginsFromRepo")
113-
outputs.files { dir.listFiles().findAll { it.name.endsWith(".zip") } }
113+
outputs.files { dir.listFiles().findAll { it.name.endsWith(".zip") || it.name.endsWith(".pom") } }
114114
doFirst {
115115
ant {
116116
mkdir(dir: dir)
117117
plugins.each { name, version ->
118118
get(src: "http://repo.grails.org/grails/plugins/org/grails/plugins/${name}/$version/${name}-${version}.zip",
119119
dest: dir, verbose: true, usetimestamp: true)
120+
get(src: "http://grails.org/plugins/grails-${name}/tags/RELEASE_${versionTag}/grails-${name}-${version}.pom",
121+
dest: dir, verbose: true, usetimestamp: true)
120122
}
121123
}
122124
}

0 commit comments

Comments
 (0)