pluginManagement { // The convention plugins this build applies. An included build rather than buildSrc, so the // plugins are testable with TestKit and do not force every project to recompile when one of them // changes. includeBuild('build-logic') } plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0' // Reads and validates gradle/modules.json, then includes every registered project // and maps its directory. The validation that used to live in this file is in the plugin, shared // with the root build's verification tasks so a registry rule has one implementation. id 'ca.architecture-registry' } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { // The libraries this repository's owner publishes from their own repositories // (docs/work/reference/related-repos.md): group dev.cakit and below, from the owner's Gitea // Packages only, and nothing else from there. A public repository serving a dev.cakit // artifact of the same name is never asked (dependency confusion), and a slow or absent Gitea // affects no other dependency. Packages of a public owner are read without a token. exclusiveContent { forRepository { maven { name = 'cakitPackages' url = 'https://git.learn.hyeonworks.com/api/packages/donghyeon.kang/maven' } } filter { includeGroupByRegex 'dev\\.cakit(\\..*)?' } } mavenCentral() } } rootProject.name = 'ca-skeleton'