Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / build-logic / settings.gradle.kts
settings.gradle.kts26 lines · 812 BRaw
| 1 | pluginManagement { |
| 2 | repositories { |
| 3 | google() |
| 4 | mavenCentral() |
| 5 | gradlePluginPortal() |
| 6 | } |
| 7 | } |
| 8 | dependencyResolutionManagement { |
| 9 | versionCatalogs { |
| 10 | create("libs") { |
| 11 | // Points to the .toml file in your actual project root |
| 12 | from(files("../gradle/libs.versions.toml")) |
| 13 | } |
| 14 | } |
| 15 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) |
| 16 | repositories { |
| 17 | google() |
| 18 | mavenCentral() |
| 19 | // The ktlint Gradle plugin publishes its implementation jar only to the |
| 20 | // Plugin Portal (org.jlleitschuh.gradle is 404 on Maven Central), unlike |
| 21 | // detekt. Scoped to that one group so nothing else resolves through it. |
| 22 | gradlePluginPortal { |
| 23 | content { includeGroup("org.jlleitschuh.gradle") } |
| 24 | } |
| 25 | } |
| 26 | } |