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.

build.gradle 566B

1234567891011121314151617181920212223242526
  1. subprojects {
  2. apply plugin: 'java'
  3. repositories {
  4. mavenLocal()
  5. mavenCentral()
  6. }
  7. }
  8. task copyPlugins() {
  9. doLast {
  10. delete 'app/plugins'
  11. mkdir 'app/plugins'
  12. subprojects.each { p ->
  13. if (p.path.contains(":plugins/")) {
  14. System.out.println("Copying plugin from " + p.path);
  15. copy {
  16. from p.projectDir.toString() + '/build/libs'
  17. into 'app/plugins'
  18. include '*.zip'
  19. }
  20. }
  21. }
  22. }
  23. }