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.
 
 
 

26 lines
553 B

subprojects {
apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral()
}
}
task copyPlugins() {
doLast {
delete 'app/plugins'
mkdir 'app/plugins'
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'
}
}
}
}
}