moditect / layrry

A Runner and API for Layered Java Applications
Apache License 2.0
332 stars 33 forks source link

Allow multiple directories in plugin layers #61

Open aalmiray opened 3 years ago

aalmiray commented 3 years ago

Currently a single directory may be used per plugin layer. Spotted this at the vert.x example

plugins1:
  parents:
    - "platform"
    - "log"
  directory: ../../../target/route-plugins1
plugins2:
  parents:
    - "platform"
    - "log"
  directory: ../../../target/route-plugins2

These two layers could be combined in a single layer.

Of course there are uses cases where you'd want to keep plugin layers separate.