mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-30 13:05:25 -05:00
* Migrate to transitive access wideners * Fix invalid AW * Bump minor version, changes to gradle buildscript Co-authored-by: Max <maxh2709@gmail.com>
37 lines
908 B
Groovy
37 lines
908 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()
|
|
}
|
|
|
|
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 }
|
|
}
|