Package dev.cwhead.GravesX.module.util
Class ModuleInfo.LibraryDef
java.lang.Object
dev.cwhead.GravesX.module.util.ModuleInfo.LibraryDef
- Enclosing class:
ModuleInfo
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaven coordinates, e.g.id()Optional repository id/name, ornull.Whether this library should be isolated, ornullif unspecified.Relocation source package, ornull.Relocation target package, ornull.repo()Optional repository URL, ornull.Whether transitive dependencies should be resolved, ornullif unspecified.
-
Constructor Details
-
LibraryDef
-
-
Method Details
-
coordinates
Maven coordinates, e.g.group:artifact:version. -
relocateFrom
Relocation source package, ornull. -
relocateTo
Relocation target package, ornull. -
isIsolated
Whether this library should be isolated, ornullif unspecified. -
useTransitive
Whether transitive dependencies should be resolved, ornullif unspecified. -
repo
Optional repository URL, ornull. -
id
Optional repository id/name, ornull.
-