From 081269e4118f3fe9a550bcdf5cb33d35fe8a0f6d Mon Sep 17 00:00:00 2001 From: moonleay Date: Sun, 28 Apr 2024 02:37:19 +0200 Subject: [PATCH] chore: removed unused references Signed-off-by: moonleay --- build.gradle.kts | 26 ++------------------------ gradle.properties | 1 - 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c722850..b121bc2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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, ) diff --git a/gradle.properties b/gradle.properties index 0d47e4f..1fae464 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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