Problem
The neogradle.subsystems.conventions.configurations.enabled convention (defaults to true), adds the set of configurations such as localRuntime to all sourcesets, regardless of whether NeoForge itself has been applied to them.
Scenario
In my case, I apply NeoForge to a neoforge sourceset:
dependencies {
neoforgeImplementation("net.neoforged:neoforge:26.1.2.50-beta")
}
but NeoGradle still generates the configuration localRuntime, not just neoforgeLocalRuntime.
Problem
The
neogradle.subsystems.conventions.configurations.enabledconvention (defaults totrue), adds the set of configurations such aslocalRuntimeto all sourcesets, regardless of whether NeoForge itself has been applied to them.Scenario
In my case, I apply NeoForge to a
neoforgesourceset:dependencies { neoforgeImplementation("net.neoforged:neoforge:26.1.2.50-beta") }but NeoGradle still generates the configuration
localRuntime, not justneoforgeLocalRuntime.