-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsettings.gradle.kts
60 lines (57 loc) · 1.96 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Copyright © 2022-2024 Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
@file:Suppress("UnstableApiUsage")
rootProject.name = "build-logic"
pluginManagement {
plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0" }
repositories {
exclusiveContent {
forRepository { gradlePluginPortal() }
filter {
includeModule(
"org.gradle.toolchains.foojay-resolver-convention",
"org.gradle.toolchains.foojay-resolver-convention.gradle.plugin",
)
includeModule("org.gradle.toolchains", "foojay-resolver")
includeModule("org.gradle.kotlin.kotlin-dsl", "org.gradle.kotlin.kotlin-dsl.gradle.plugin")
includeModule("org.gradle.kotlin", "gradle-kotlin-dsl-plugins")
}
}
exclusiveContent {
forRepository { google() }
filter {
includeGroup("androidx.databinding")
includeGroup("com.google.testing.platform")
includeGroupAndSubgroups("com.android")
}
}
mavenCentral { mavenContent { releasesOnly() } }
}
}
dependencyResolutionManagement {
repositories {
exclusiveContent {
forRepository(::google)
filter {
includeGroup("androidx.databinding")
includeGroup("androidx.lint")
includeGroupByRegex("com.android.*")
includeGroup("com.google.testing.platform")
}
}
exclusiveContent {
forRepository(::gradlePluginPortal)
filter {
includeModule("com.github.ben-manes", "gradle-versions-plugin")
includeModule("org.gradle.android.cache-fix", "org.gradle.android.cache-fix.gradle.plugin")
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
}
}
mavenCentral { mavenContent { releasesOnly() } }
}
versionCatalogs { create("libs") { from(files("../gradle/libs.versions.toml")) } }
}