Class ModuleInfo.LibraryDef

java.lang.Object
dev.cwhead.GravesX.module.util.ModuleInfo.LibraryDef
Enclosing class:
ModuleInfo

public static final class ModuleInfo.LibraryDef extends Object
Immutable descriptor for a library entry under libraries: in module.yml.
 libraries:
   - com.squareup.okhttp3:okhttp:4.9.0
   - old.loc.library:library:1.0.0
     relocatefrom: "old.loc.library"
     relocateTo: "new.loc.library"
     isIsolated: true
     useTransitive: false
     repo: "repo.url"
     id: "id"
 
  • Constructor Details

  • Method Details

    • coordinates

      public String coordinates()
      Maven coordinates, e.g. group:artifact:version.
    • relocateFrom

      public String relocateFrom()
      Relocation source package, or null.
    • relocateTo

      public String relocateTo()
      Relocation target package, or null.
    • isIsolated

      public Boolean isIsolated()
      Whether this library should be isolated, or null if unspecified.
    • useTransitive

      public Boolean useTransitive()
      Whether transitive dependencies should be resolved, or null if unspecified.
    • repo

      public String repo()
      Optional repository URL, or null.
    • id

      public String id()
      Optional repository id/name, or null.