Set the loom version to 0.7.2 or 0.8.0.+ depending on the JDK version

This commit is contained in:
Username404-59 2021-06-21 17:54:25 +02:00
parent b759063cac
commit 570118498b
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,11 @@ plugins {
kotlin("plugin.serialization") version "1.5.20-RC"
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
id("architectury-plugin") version "[3.0.100, 3.3["
id("dev.architectury.loom") version "[0.7.2.110, 0.9.0[" apply false
id("dev.architectury.loom") version (
if (JavaVersion.current() >= JavaVersion.VERSION_16)
"0.8.0.+"
else "[0.7.2.110, 0.8.0["
) apply false
id("com.github.ben-manes.versions") version "0.39.0"
id("net.kyori.indra.git") version "2.0.5"
id("org.cqfn.diktat.diktat-gradle-plugin") version "0.6.2"