File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/main/java/org/mangorage/bootstrap/internal/launch Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,13 @@ public String getId() {
7575 public void launch (ModuleLayer parent , String [] args ) throws Throwable {
7676 final var pluginsPath = Path .of ("plugins" );
7777
78- List <IDependencyLocator > dependencyLocators =
79- ServiceLoader .load (IDependencyLocator .class )
80- .stream ()
81- .map (ServiceLoader .Provider ::get )
82- .toList ();
78+ List <IDependencyLocator > dependencyLocators = new ArrayList <>();
79+ dependencyLocators .add (new MangoBotDependencyLocator ());
80+
81+ // ServiceLoader.load(IDependencyLocator.class)
82+ // .stream()
83+ // .map(ServiceLoader.Provider::get)
84+ // .toList();
8385
8486 final Map <String , List <IDependency >> dependencies = new HashMap <>();
8587
You can’t perform that action at this time.
0 commit comments