Class LibbyImporter

java.lang.Object
dev.cwhead.GravesX.module.util.LibbyImporter
All Implemented Interfaces:
LibraryImporter

public final class LibbyImporter extends Object implements LibraryImporter
Implements a LibraryImporter that parses Maven-style coordinates and loads libraries for modules using LibraryLoaderUtil.
  • Constructor Details

    • LibbyImporter

      public LibbyImporter(Graves plugin)
      Creates a new importer bound to the Graves plugin.
      Parameters:
      plugin - Owning Graves plugin.
  • Method Details

    • importLibrary

      public void importLibrary(ModuleContext ctx, String... coordinates)
      Loads libraries described by coordinate strings. Each coordinate is trimmed and ignored if null/empty.
      Specified by:
      importLibrary in interface LibraryImporter
      Parameters:
      ctx - Module context of the caller.
      coordinates - One or more coordinates in the form group:artifact:version[?key=value&...].