mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
* Replace loom.forge.localMods with loom.mods * Replace javax annotations with jetbrains [norelease]
39 lines
952 B
Groovy
39 lines
952 B
Groovy
plugins {
|
|
id "com.github.johnrengelman.shadow" version "7.0.0"
|
|
id "com.matthewprenger.cursegradle"
|
|
}
|
|
|
|
loom {
|
|
accessWidenerPath = project(":common").loom.accessWidenerPath
|
|
|
|
mods {
|
|
forge {
|
|
sourceSet project(":forge").sourceSets.main
|
|
}
|
|
}
|
|
|
|
forge {
|
|
mixinConfig "architectury.mixins.json"
|
|
}
|
|
}
|
|
|
|
architectury {
|
|
platformSetupLoomIde()
|
|
forge()
|
|
}
|
|
|
|
configurations {
|
|
common
|
|
compileClasspath.extendsFrom common
|
|
runtimeClasspath.extendsFrom common
|
|
developmentForge.extendsFrom common
|
|
}
|
|
|
|
dependencies {
|
|
forge "net.minecraftforge:forge:${gradle.rootProject.architectury.minecraft}-${rootProject.forge_version}"
|
|
|
|
implementation project(path: ":forge", configuration: "namedElements")
|
|
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
|
common(project(path: ":testmod-common", configuration: "namedElements")) { transitive false }
|
|
}
|