java.lang.Object
org.aya.cli.library.json.LibraryConfigData
The library description file (aya.json) with user definable settings.
- See Also:
-
asConfig(Path)LibraryConfig
- API Note:
- for GSON.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckDeserialization(@NotNull Path libraryRoot) static @NotNull LibraryConfigfromDependencyRoot(@NotNull Path dependencyRoot, @NotNull Function<String, Path> buildRoot) static @NotNull LibraryConfigfromLibraryRoot(@NotNull Path libraryRoot) static LibraryConfigData
-
Field Details
-
ayaVersion
-
name
-
group
-
version
-
dependency
-
-
Constructor Details
-
LibraryConfigData
public LibraryConfigData()
-
-
Method Details
-
checkDeserialization
-
ofAyaJson
- Throws:
IOException
-
fromLibraryRoot
@NotNull public static @NotNull LibraryConfig fromLibraryRoot(@NotNull @NotNull Path libraryRoot) throws IOException, LibraryConfigData.BadConfig -
fromDependencyRoot
@NotNull public static @NotNull LibraryConfig fromDependencyRoot(@NotNull @NotNull Path dependencyRoot, @NotNull @NotNull Function<String, Path> buildRoot) throws IOException, LibraryConfigData.BadConfig
-