Skip to content

Convention neogradle.subsystems.conventions.configurations.enabled applies to all sourcesets #311

@isXander

Description

@isXander

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions