Import MCEconomy Common
Version: 2026.0.4-4
Maven (Repository + Authentication + Dependency)
settings.xml (credentials for GitHub Packages)
<servers>
<server>
<id>github</id>
<username>${env.GITHUB_ACTOR}</username>
<password>${env.GITHUB_TOKEN}</password>
</server>
</servers>
pom.xml (repo + dependency)
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/MCClauneck/plugin-common</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.github.mcclauneck</groupId>
<artifactId>mceconomy-common</artifactId>
<version>2026.0.4-4</version>
</dependency>
</dependencies>
Gradle (Groovy) - Repository + Authentication + Dependency
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/MCClauneck/plugin-common")
credentials {
username = System.getenv('GITHUB_ACTOR') ?: System.getenv('AGENT_NAME') ?: System.getenv('USER_GITHUB_NAME')
password = System.getenv('GITHUB_TOKEN') ?: System.getenv('AGENT_TOKEN') ?: System.getenv('USER_GITHUB_TOKEN')
}
}
}
dependencies {
implementation 'io.github.mcclauneck:mceconomy-common:2026.0.4-4'
}
Gradle (Kotlin) - Repository + Authentication + Dependency
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/MCClauneck/plugin-common")
credentials {
username = System.getenv("GITHUB_ACTOR") ?: System.getenv("AGENT_NAME") ?: System.getenv("USER_GITHUB_NAME")
password = System.getenv("GITHUB_TOKEN") ?: System.getenv("AGENT_TOKEN") ?: System.getenv("USER_GITHUB_TOKEN")
}
}
}
dependencies {
implementation("io.github.mcclauneck:mceconomy-common:2026.0.4-4")
}