[norelease] Update to archloom 0.7.2 and Gradle 7

This commit is contained in:
Max
2021-05-18 17:43:50 +02:00
parent 0b2c0d8d74
commit 43c8bae105
6 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
plugins {
id "architectury-plugin" version "3.1-SNAPSHOT"
id "forgified-fabric-loom" version "0.6-SNAPSHOT" apply false
id "dev.architectury.loom" version "0.7.2-SNAPSHOT" apply false
id "org.cadixdev.licenser" version "0.5.0"
id "com.matthewprenger.cursegradle" version "1.4.0" apply false
id "maven-publish"
@@ -11,7 +11,7 @@ architectury {
}
subprojects {
apply plugin: "forgified-fabric-loom"
apply plugin: "dev.architectury.loom"
loom {
silentMojangMappingsLicense()

View File

@@ -1 +1 @@
loom.forge=true
loom.platform=forge

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -3,7 +3,7 @@ dependencies {
mappings loom.officialMojangMappings()
// We depend on fabric loader here to use the fabric @Environment annotations
// Do NOT use other classes from fabric loader
modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
implementation project(":common")
}

View File

@@ -11,8 +11,8 @@ architectury {
dependencies {
minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
mappings loom.officialMojangMappings()
modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
modCompileOnly "io.github.prospector:modmenu:${rootProject.mod_menu_version}"
implementation project(path: ":fabric", configuration: "dev")

View File

@@ -1 +1 @@
loom.forge=true
loom.platform=forge