Files
architectury-api/testmod-forge/build.gradle
shedaniel 7857615bfc Migrate to transitive access wideners (#146)
* Migrate to transitive access wideners

* Fix invalid AW

* Bump minor version, changes to gradle buildscript

Co-authored-by: Max <maxh2709@gmail.com>
2021-12-08 22:17:44 +08:00

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 }
}