aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorisxander <xander@isxander.dev>2024-04-11 19:44:43 +0100
committerisxander <xander@isxander.dev>2024-04-11 19:44:43 +0100
commit25ba978582957647e9a8b3069823df43928f32eb (patch)
tree495b99387f976961bb551293ba6ceb4a4d720ec9 /build.gradle.kts
parentdc56cd7ab946c8f19c1451e0f5d759de95afd0e3 (diff)
downloadYetAnotherConfigLib-25ba978582957647e9a8b3069823df43928f32eb.tar.gz
YetAnotherConfigLib-25ba978582957647e9a8b3069823df43928f32eb.tar.bz2
YetAnotherConfigLib-25ba978582957647e9a8b3069823df43928f32eb.zip
Replace some AW with mixin and remove common project
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts16
1 files changed, 3 insertions, 13 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 8804ceb..14b6130 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,8 +11,7 @@ plugins {
}
val loader = loom.platform.get().name.lowercase()
-val isCommon = stonecutter.current.project.endsWith("common")
-val isFabric = loader == "fabric" && !isCommon // common uses fabric platform
+val isFabric = loader == "fabric"
val isNeoforge = loader == "neoforge"
val isForge = loader == "forge"
val isForgeLike = isNeoforge || isForge
@@ -31,7 +30,7 @@ base {
}
java.toolchain {
- languageVersion.set(JavaLanguageVersion.of(17))
+ //languageVersion.set(JavaLanguageVersion.of(17))
}
stonecutter.expression {
@@ -76,10 +75,6 @@ loom {
}
}
- mixin {
- useLegacyMixinAp.set(false)
- }
-
createRemapConfigurations(testmod)
}
@@ -99,12 +94,7 @@ repositories {
}
dependencies {
- fun Dependency?.jij(): Dependency? {
- if (!isCommon) {
- include(this!!)
- }
- return this
- }
+ fun Dependency?.jij(): Dependency? = include(this!!)
minecraft("com.mojang:minecraft:${if (mcVersion.contains("beta")) "1.20.5-pre1" else mcVersion}")