Skip to content

RepositoriesMode.FAIL_ON_PROJECT_REPOS does not work with legacyforge plugin #260

Description

@lukebemish

Applying the net.neoforged.moddev.repositories plugin in the settings.gradle and setting dependencyResolutionManagement.repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS, while functioning fine with the normal moddevgradle plugin, will fail if the net.neoforged.moddev.legacyforge plugin is applied in a project as that plugin sets a project repository: https://github.com/neoforged/ModDevGradle/blob/main/src/legacy/java/net/neoforged/moddevgradle/legacyforge/internal/LegacyForgeModDevPlugin.java#L73-L76.

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