// The included build that holds this repository's convention plugins. // // Its own settings are deliberately tiny: an included build for build logic should not need the // registry validation, toolchain resolution or plugin management the main build does, and giving it // any of those would make the thing that validates the build depend on the build it validates. dependencyResolutionManagement { repositories { mavenCentral() gradlePluginPortal() } // The main build's version catalog, read as a file rather than inherited — an included build // does not see its parent's catalog. // // This is not the dependency the note above warns against. It reads a table of versions, not the // build those versions configure: nothing here is evaluated and no project is resolved. // Keeping Java/JUnit/plugin coordinates in the shared catalog prevents included-build versions // from drifting away from the leaf modules they configure. versionCatalogs { libs { from(files('../gradle/libs.versions.toml')) } } } rootProject.name = 'build-logic'