Release 1.0.3
Installation
Quick Start: JitPack (Recommended)
No authentication required. JitPack builds automatically from GitHub tags.
Gradle (Kotlin DSL):
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
dependencies {
compileOnly("com.github.modpotato-plugins:artificial-enchantments:v1.0.3")
}Maven:
<repositories>
<repository>
<id>jitpack.io</id>
<name>JitPack</name>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.modpotato-plugins</groupId>
<artifactId>artificial-enchantments</artifactId>
<version>v1.0.3</version>
<scope>provided</scope>
</dependency>Official: GitHub Packages
Also published to GitHub Packages, which requires a PAT even for public repositories.
1. Create a PAT with the read:packages scope:
GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)
2. Configure credentials in ~/.gradle/gradle.properties (global) or project gradle.properties:
gpr.user=YOUR_GITHUB_USERNAME
gpr.key=YOUR_PAT_TOKENOr use environment variables:
export GITHUB_ACTOR=YOUR_GITHUB_USERNAME
export GITHUB_TOKEN=YOUR_PAT_TOKEN3. Add the repository and dependency:
Gradle (Kotlin DSL):
repositories {
mavenCentral()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/modpotato-plugins/artificial-enchantments")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
compileOnly("io.artificial:artificial-enchantments:1.0.3")
}Maven:
<repositories>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/modpotato-plugins/artificial-enchantments</url>
</repository>
</repositories>
<dependency>
<groupId>io.artificial</groupId>
<artifactId>artificial-enchantments</artifactId>
<version>1.0.3</version>
<scope>provided</scope>
</dependency>Modrinth
Also available on Modrinth.
Full Changelog: v1.0.2...v1.0.3