mirror of
https://github.com/architectury/architectury-api.git
synced 2026-04-02 13:37:43 -05:00
Switch to gradle components
This commit is contained in:
@@ -20,20 +20,17 @@ architectury {
|
||||
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: "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
|
||||
}
|
||||
common(project(path: ":common", configuration: "dev")) { transitive false }
|
||||
common(project(path: ":testmod-common", configuration: "dev")) { transitive false }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user