forked from sorceress/EasyAuth
Archi 3.0 migration
This commit is contained in:
parent
944585ea2f
commit
2b582c004e
|
@ -10,8 +10,8 @@ buildscript {
|
||||||
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "architectury-plugin" version "2.0.68"
|
id "architectury-plugin" version "3.0.94"
|
||||||
id "forgified-fabric-loom" version "0.6.64" apply false
|
id "forgified-fabric-loom" version "0.6.72" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,16 +18,17 @@ configurations {
|
||||||
|
|
||||||
architectury {
|
architectury {
|
||||||
platformSetupLoomIde()
|
platformSetupLoomIde()
|
||||||
|
fabric()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
modImplementation("net.fabricmc:fabric-loader:${rootProject.loader_version}")
|
modImplementation("net.fabricmc:fabric-loader:${rootProject.loader_version}")
|
||||||
modImplementation("net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_version}")
|
modImplementation("net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_version}")
|
||||||
|
|
||||||
compileOnly(project(path: ":common")) {
|
implementation(project(path: ":common")) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
runtimeOnly(project(path: ":common", configuration: "transformDevelopmentFabric")) {
|
developmentFabric(project(path: ":common")) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
shadow(project(path: ":common", configuration: "transformProductionFabric")) {
|
shadow(project(path: ":common", configuration: "transformProductionFabric")) {
|
||||||
|
|
|
@ -8,6 +8,7 @@ configurations {
|
||||||
|
|
||||||
architectury {
|
architectury {
|
||||||
platformSetupLoomIde()
|
platformSetupLoomIde()
|
||||||
|
forge()
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
|
@ -21,10 +22,10 @@ dependencies {
|
||||||
forge("net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}")
|
forge("net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}")
|
||||||
modCompile("me.shedaniel:architectury:${rootProject.architectury_version}:forge")
|
modCompile("me.shedaniel:architectury:${rootProject.architectury_version}:forge")
|
||||||
|
|
||||||
compileOnly(project(path: ":common")) {
|
implementation(project(path: ":common")) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
runtimeOnly(project(path: ":common", configuration: "transformDevelopmentForge")) {
|
developmentForge(project(path: ":common")) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
shadow(project(path: ":common", configuration: "transformProductionForge")) {
|
shadow(project(path: ":common", configuration: "transformProductionForge")) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ pluginManagement {
|
||||||
name = 'Fabric'
|
name = 'Fabric'
|
||||||
url = 'https://maven.fabricmc.net/'
|
url = 'https://maven.fabricmc.net/'
|
||||||
}
|
}
|
||||||
maven { url "https://dl.bintray.com/shedaniel/cloth" }
|
maven { url "https://maven.shedaniel.me/" }
|
||||||
maven { url "https://files.minecraftforge.net/maven/" }
|
maven { url "https://files.minecraftforge.net/maven/" }
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue