Plugin Framework for Java (PF4J)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
553 B

10 years ago
subprojects {
apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral()
}
}
10 years ago
task copyPlugins() {
doLast {
delete 'app/plugins'
mkdir 'app/plugins'
10 years ago
subprojects.each { p ->
if (p.path.contains(":plugins/")) {
System.out.println("Copying plugin from " + p.path);
copy {
from p.projectDir.toString() + '/build/libs'
into 'app/plugins'
include '*.zip'
}
}
}
}
}