-
-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
72 lines (63 loc) · 1.89 KB
/
settings.gradle.kts
File metadata and controls
72 lines (63 loc) · 1.89 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
// Copyright (C) 2024 Zac Sweers
// SPDX-License-Identifier: Apache-2.0
pluginManagement {
includeBuild("build-logic")
repositories {
mavenCentral()
google()
gradlePluginPortal()
maven("https://redirector.kotlinlang.org/maven/bootstrap")
maven("https://redirector.kotlinlang.org/maven/dev/")
// Publications used by IJ
// https://kotlinlang.slack.com/archives/C7L3JB43G/p1757001642402909
maven("https://redirector.kotlinlang.org/maven/intellij-dependencies/")
}
plugins { id("com.gradle.develocity") version "4.4.0" }
}
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
maven("https://redirector.kotlinlang.org/maven/bootstrap")
maven("https://redirector.kotlinlang.org/maven/dev/")
// Publications used by IJ
// https://kotlinlang.slack.com/archives/C7L3JB43G/p1757001642402909
maven("https://redirector.kotlinlang.org/maven/intellij-dependencies/")
}
}
plugins { id("com.gradle.develocity") }
rootProject.name = "metro"
include(
":compiler",
":compiler-compat",
":compiler-tests",
":gradle-plugin",
":interop-dagger",
":interop-javax",
":interop-jakarta",
":interop-guice",
":metrox-android",
":metrox-viewmodel",
":metrox-viewmodel-compose",
":runtime",
)
// Include compiler-compat versions
rootProject.projectDir.resolve("compiler-compat").listFiles()!!.forEach {
if (it.isDirectory && it.name.startsWith("k") && File(it, "version.txt").exists()) {
include(":compiler-compat:${it.name}")
}
}
val VERSION_NAME: String by extra.properties
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
tag(if (System.getenv("CI").isNullOrBlank()) "Local" else "CI")
tag(VERSION_NAME)
obfuscation {
username { "Redacted" }
hostname { "Redacted" }
ipAddresses { addresses -> addresses.map { "0.0.0.0" } }
}
}
}