mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
[norelease] Update to archloom 0.7.2 and Gradle 7
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "architectury-plugin" version "3.1-SNAPSHOT"
|
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 "org.cadixdev.licenser" version "0.5.0"
|
||||||
id "com.matthewprenger.cursegradle" version "1.4.0" apply false
|
id "com.matthewprenger.cursegradle" version "1.4.0" apply false
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
@@ -11,7 +11,7 @@ architectury {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply plugin: "forgified-fabric-loom"
|
apply plugin: "dev.architectury.loom"
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
silentMojangMappingsLicense()
|
silentMojangMappingsLicense()
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
loom.forge=true
|
loom.platform=forge
|
||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ dependencies {
|
|||||||
mappings loom.officialMojangMappings()
|
mappings loom.officialMojangMappings()
|
||||||
// We depend on fabric loader here to use the fabric @Environment annotations
|
// We depend on fabric loader here to use the fabric @Environment annotations
|
||||||
// Do NOT use other classes from fabric loader
|
// 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")
|
implementation project(":common")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ architectury {
|
|||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
|
minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
|
||||||
mappings loom.officialMojangMappings()
|
mappings loom.officialMojangMappings()
|
||||||
modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
|
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
|
||||||
modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
|
||||||
modCompileOnly "io.github.prospector:modmenu:${rootProject.mod_menu_version}"
|
modCompileOnly "io.github.prospector:modmenu:${rootProject.mod_menu_version}"
|
||||||
|
|
||||||
implementation project(path: ":fabric", configuration: "dev")
|
implementation project(path: ":fabric", configuration: "dev")
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
loom.forge=true
|
loom.platform=forge
|
||||||
Reference in New Issue
Block a user