chore: removed unused references

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2024-04-28 02:37:19 +02:00
parent ea2a76bb9d
commit 081269e411
Signed by: moonleay
GPG key ID: 82667543CCD715FB
2 changed files with 2 additions and 25 deletions

View file

@ -11,7 +11,8 @@ plugins {
id("org.jetbrains.gradle.plugin.idea-ext")
}
val mavenVersion = System.getenv("CI_COMMIT_TAG") ?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" } ?: "0.0.0-SNAPSHOT"
val mavenVersion = System.getenv("CI_COMMIT_TAG") ?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" }
?: "0.1.0-dev" //""0.0.0-SNAPSHOT"
val modId: String by project
val modName: String by project
@ -25,32 +26,12 @@ val fabricLoaderVersion = project.ext["fabric.loader.version"] as String
val fabricApiVersion = project.ext["fabric.api.version"] as String
val fabricKotlinVersion = project.ext["fabric.kotlin.version"] as String
val serializationVersion = project.ext["kotlinx.serialization.version"] as String
val configlibVersion = project.ext["configlib.version"] as String
version = mavenVersion
group = mavenGroup
project.base.archivesName.set(mavenArtifact)
repositories {
maven {
name = "HuebCraftGitlab"
url = uri("https://gitlab.huebcraft.net/api/v4/groups/48/-/packages/maven")
authentication {
create("header", HttpHeaderAuthentication::class.java) {
if (System.getenv("CI_JOB_TOKEN") != null) {
credentials(HttpHeaderCredentials::class) {
name = "Job-Token"
value = System.getenv("CI_JOB_TOKEN")
}
} else {
credentials(HttpHeaderCredentials::class) {
name = "Private-Token"
value = project.ext["huebcraftGitlabToken"] as String
}
}
}
}
}
}
fabricApi {
@ -66,8 +47,6 @@ dependencies {
modImplementation("net.fabricmc.fabric-api:fabric-api:$fabricApiVersion")
modImplementation("net.fabricmc:fabric-language-kotlin:$fabricKotlinVersion")
// modImplementation("de.huebcraft.mod-libs:configlib:$configlibVersion")
modImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
}
@ -81,7 +60,6 @@ val templateProps = mapOf(
"modName" to modName,
"minecraftVersion" to minecraftVersion,
"fabricLoaderVersion" to fabricLoaderVersion,
"configlibVersion" to configlibVersion,
"fabricKotlinVersion" to fabricKotlinVersion,
)

View file

@ -4,7 +4,6 @@ fabric.loom.version=1.4.6
kotlin.version=1.9.22
fabric.api.version=0.77.0+1.19.2
yarn.version=1.19.2+build.28
configlib.version=3.0.0-beta
idea-ext.version=1.1.6
org.gradle.jvmargs=-Xmx2G
modId=gimble