Usage
First you need to implement the Axiom library into your project
Repositories
repositories {
// ...
mavenCentral()
maven { url 'https://jitpack.io' }
}repositories {
// ...
mavenCentral()
maven(url = "https://jitpack.io")
}<repositories>
<!-- ... -->
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
</repositories>Dependencies
dependencies {
// ...
implementation 'com.github.AxieFeat:Axiom:VERSION'
}dependencies {
// ...
implementation("com.github.AxieFeat:Axiom:VERSION")
}<dependencies>
<!-- ... -->
<dependency>
<groupId>com.github.AxieFeat</groupId>
<artifactId>Axiom</artifactId>
<version>VERSION</version>
</dependency>
</dependencies>The list of versions is available at the link - https://jitpack.io/#AxieFeat/Axiom
The main methods that are necessary to work with Axiom are in the corresponding class - Axiom.
// This method allows serializing and deserializing a Java object
// into a config file with the extension ".ax". You can use this method
// both for loading a config and for saving it. Axiom will automatically
// create the config if it doesn't exist.
Axiom.insert(T value, Path path)Last updated