mirror of
https://codeberg.org/moonleay/Gimble.git
synced 2024-11-25 00:02:10 +00:00
chore: removed unused references
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
ea2a76bb9d
commit
081269e411
2 changed files with 2 additions and 25 deletions
|
@ -11,7 +11,8 @@ plugins {
|
||||||
id("org.jetbrains.gradle.plugin.idea-ext")
|
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 modId: String by project
|
||||||
val modName: 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 fabricApiVersion = project.ext["fabric.api.version"] as String
|
||||||
val fabricKotlinVersion = project.ext["fabric.kotlin.version"] as String
|
val fabricKotlinVersion = project.ext["fabric.kotlin.version"] as String
|
||||||
val serializationVersion = project.ext["kotlinx.serialization.version"] as String
|
val serializationVersion = project.ext["kotlinx.serialization.version"] as String
|
||||||
val configlibVersion = project.ext["configlib.version"] as String
|
|
||||||
|
|
||||||
version = mavenVersion
|
version = mavenVersion
|
||||||
group = mavenGroup
|
group = mavenGroup
|
||||||
project.base.archivesName.set(mavenArtifact)
|
project.base.archivesName.set(mavenArtifact)
|
||||||
|
|
||||||
repositories {
|
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 {
|
fabricApi {
|
||||||
|
@ -66,8 +47,6 @@ dependencies {
|
||||||
modImplementation("net.fabricmc.fabric-api:fabric-api:$fabricApiVersion")
|
modImplementation("net.fabricmc.fabric-api:fabric-api:$fabricApiVersion")
|
||||||
modImplementation("net.fabricmc:fabric-language-kotlin:$fabricKotlinVersion")
|
modImplementation("net.fabricmc:fabric-language-kotlin:$fabricKotlinVersion")
|
||||||
|
|
||||||
// modImplementation("de.huebcraft.mod-libs:configlib:$configlibVersion")
|
|
||||||
|
|
||||||
modImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
|
modImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +60,6 @@ val templateProps = mapOf(
|
||||||
"modName" to modName,
|
"modName" to modName,
|
||||||
"minecraftVersion" to minecraftVersion,
|
"minecraftVersion" to minecraftVersion,
|
||||||
"fabricLoaderVersion" to fabricLoaderVersion,
|
"fabricLoaderVersion" to fabricLoaderVersion,
|
||||||
"configlibVersion" to configlibVersion,
|
|
||||||
"fabricKotlinVersion" to fabricKotlinVersion,
|
"fabricKotlinVersion" to fabricKotlinVersion,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ fabric.loom.version=1.4.6
|
||||||
kotlin.version=1.9.22
|
kotlin.version=1.9.22
|
||||||
fabric.api.version=0.77.0+1.19.2
|
fabric.api.version=0.77.0+1.19.2
|
||||||
yarn.version=1.19.2+build.28
|
yarn.version=1.19.2+build.28
|
||||||
configlib.version=3.0.0-beta
|
|
||||||
idea-ext.version=1.1.6
|
idea-ext.version=1.1.6
|
||||||
org.gradle.jvmargs=-Xmx2G
|
org.gradle.jvmargs=-Xmx2G
|
||||||
modId=gimble
|
modId=gimble
|
||||||
|
|
Loading…
Reference in a new issue