mirror of
https://github.com/architectury/architectury-api.git
synced 2026-04-02 13:37:43 -05:00
38 lines
933 B
Groovy
38 lines
933 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(":neoforge").sourceSets.main
|
|
}
|
|
}
|
|
}
|
|
|
|
architectury {
|
|
platformSetupLoomIde()
|
|
neoForge {
|
|
platformPackage = "forge"
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
common
|
|
forgeLike
|
|
compileClasspath.extendsFrom common
|
|
runtimeClasspath.extendsFrom common
|
|
developmentNeoForge.extendsFrom common
|
|
}
|
|
|
|
dependencies {
|
|
neoForge "net.neoforged:neoforge:${rootProject.neoforge_version}"
|
|
|
|
implementation(project(path: ":neoforge", configuration: "namedElements")) { transitive false }
|
|
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
|
common(project(path: ":testmod-common", configuration: "namedElements")) { transitive false }
|
|
}
|