Fix the architectury-loom plugin's maven version range to not include loom 0.7.4

This commit is contained in:
Username404 2021-08-03 22:30:25 +02:00
parent 3c7d145ca8
commit 880706eaa9
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 4 additions and 6 deletions

View File

@ -17,7 +17,7 @@ plugins {
id("dev.architectury.loom") version (
if (JavaVersion.current() >= JavaVersion.VERSION_16)
"[0.9.0.153, 0.9.1["
else "[0.7.3.152, 0.8.0["
else "[0.7.3.152, 0.7.4["
) apply false
id("com.github.ben-manes.versions") version "0.39.0"
id("net.kyori.indra.git") version "2.0.5"
@ -29,16 +29,14 @@ group = "fr.username404"
version = "0.3.2"
val groupAndName = "${rootProject.group}.${rootProject.name.toLowerCase()}"
architectury {
minecraft = rootProject.property("minecraft") as String
}
val javaVer: String = "8"
val sourceJavaVer: String = "16"
val kotlinVer: String by rootProject
val kotlinBaseVer = kotlinVer.substring(0..2)
val serializationVer: String by rootProject
val mcBase: String = rootProject.architectury.minecraft.substring(0..3)
val mcBase: String = (rootProject.property("minecraft") as String).also {
architectury { minecraft = it }
}.substring(0..3)
val kotlinX: String = "org.jetbrains.kotlinx"
val toolchainJavaVersion = Action<JavaToolchainSpec> {