Skip to content

Duplicate configuration for repository 'foojay'. #109

@koppor

Description

@koppor

In my settings.gradle.kts, I have

plugins {
    id("org.gradle.toolchains.foojay-resolver-convention") version "0.10.0"
}

// Hint from https://github.com/gradle/foojay-toolchains#usage
// This enables JDK-EA use
toolchainManagement {
    jvm {
        javaRepositories {
            repository("foojay") {
                resolverClass.set(org.gradle.toolchains.foojay.FoojayToolchainResolver::class.java)
            }
        }
    }
}

Now, I get

Settings file 'C:\git-repositories\jabref-all\jabref\settings.gradle.kts' line: 32

Without toolchainManagement, there is no error, but I cannot use JDK 25.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    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