Package dev.cwhead.GravesX.module.util
Interface LibraryImporter
- All Known Implementing Classes:
LibbyImporter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for loading external libraries for a module.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
importLibrary
(ModuleContext ctx, String... coordinates) Imports one or more libraries described by coordinates for the given module.
-
Method Details
-
importLibrary
Imports one or more libraries described by coordinates for the given module.- Parameters:
ctx
- Calling module's context.coordinates
- One or more Maven-style coordinates, e.g.group:artifact:version[?key=value&...]
.
-