Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 0.6 kB
def buildPlugin = {name, projects, task ->
task.archiveName = "${name}.jar"
task.destinationDir = new File(buildDir, "plugins")
projects.each {
task.dependsOn(":$it:assemble")
task.dependsOn(":$it:collectTransitiveDependencies")
task.from projectLibrary(it)
}
}
def exclude = ['Anathema', 'Development_Code']
project.subprojects.each {
if (exclude.contains(it.name)){
return;
}
def name = it.name.toLowerCase();
def projects = [it.name]
task "build${it.name}Plugin"(type: Jar) {
buildPlugin name, projects, delegate
}
}
Jump to Line
Something went wrong with that request. Please try again.