mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-30 05:05:19 -05:00
40 lines
987 B
Groovy
40 lines
987 B
Groovy
plugins {
|
|
id "com.github.johnrengelman.shadow" version "7.0.0"
|
|
id "com.matthewprenger.cursegradle"
|
|
}
|
|
|
|
loom {
|
|
forge {
|
|
mixinConfig "architectury.mixins.json"
|
|
|
|
localMods {
|
|
forge {
|
|
it.add(project(":forge").sourceSets.main)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
architectury {
|
|
platformSetupLoomIde()
|
|
forge()
|
|
}
|
|
|
|
dependencies {
|
|
forge "net.minecraftforge:forge:${gradle.rootProject.architectury.minecraft}-${rootProject.forge_version}"
|
|
|
|
implementation project(path: ":forge", configuration: "dev")
|
|
implementation(project(path: ":common", configuration: "dev")) {
|
|
transitive = false
|
|
}
|
|
developmentForge(project(path: ":common", configuration: "dev")) {
|
|
transitive = false
|
|
}
|
|
implementation(project(path: ":testmod-common", configuration: "dev")) {
|
|
transitive = false
|
|
}
|
|
developmentForge(project(path: ":testmod-common", configuration: "dev")) {
|
|
transitive = false
|
|
}
|
|
}
|