aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2024-06-11 23:13:49 +0100
committerisXander <xander@isxander.dev>2024-06-11 23:13:57 +0100
commit305718e163f91802a4bc1c1ed6540febb2ce204e (patch)
treed72fe8b95dab1ef89f67b13a19f8c06fdb582c28 /build.gradle.kts
parent65b4f7ba8374bbaebc6a431f8347ffc3e8afdced (diff)
downloadYetAnotherConfigLib-305718e163f91802a4bc1c1ed6540febb2ce204e.tar.gz
YetAnotherConfigLib-305718e163f91802a4bc1c1ed6540febb2ce204e.tar.bz2
YetAnotherConfigLib-305718e163f91802a4bc1c1ed6540febb2ce204e.zip
codec config and rewritten kotlin dsl
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts23
1 files changed, 5 insertions, 18 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 13dcede..5d5cb9a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -2,13 +2,13 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`java-library`
- kotlin("jvm") version "1.9.23"
+ kotlin("jvm")
- id("dev.architectury.loom") version "1.6.+"
+ id("dev.architectury.loom")
- id("me.modmuss50.mod-publish-plugin") version "0.5.+"
+ id("me.modmuss50.mod-publish-plugin")
`maven-publish`
- id("org.ajoberstar.grgit") version "5.0.+"
+ id("org.ajoberstar.grgit")
}
val loader = loom.platform.get().name.lowercase()
@@ -20,7 +20,7 @@ val isForgeLike = isNeoforge || isForge
val mcVersion = findProperty("mcVersion").toString()
group = "dev.isxander"
-val versionWithoutMC = "3.4.4"
+val versionWithoutMC = "3.5.0"
version = "$versionWithoutMC+${stonecutter.current.project}"
val snapshotVer = "${grgit.branch.current().name.replace('/', '.')}-SNAPSHOT"
@@ -35,19 +35,6 @@ base {
archivesName.set(property("modName").toString())
}
-stonecutter.expression {
- when (it) {
- "controlify" -> isPropDefined("deps.controlify")
- "mod-menu" -> isPropDefined("deps.modMenu")
- "fabric" -> isFabric
- "neoforge" -> isNeoforge
- "forge" -> isForge
- "!forge" -> !isForge
- "forge-like" -> isForgeLike
- else -> null
- }
-}
-
val testmod by sourceSets.creating {
compileClasspath += sourceSets.main.get().compileClasspath
runtimeClasspath += sourceSets.main.get().runtimeClasspath