-
-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
86 lines (76 loc) · 2.31 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
86 lines (76 loc) · 2.31 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Copyright (C) 2024 Zac Sweers
// SPDX-License-Identifier: Apache-2.0
pluginManagement {
includeBuild("build-logic")
val kotlinRepoUrl = providers.gradleProperty("kotlin_repo_url").orNull
repositories {
if (kotlinRepoUrl != null) {
maven(kotlinRepoUrl)
}
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.5.0" }
}
dependencyResolutionManagement {
val kotlinRepoUrl = providers.gradleProperty("kotlin_repo_url").orNull
repositories {
if (kotlinRepoUrl != null) {
maven(kotlinRepoUrl)
}
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-compat:latest",
":compiler-tests",
":gradle-plugin",
":interop-dagger",
":interop-javax",
":interop-jakarta",
":interop-guice",
":metro-trace",
":metro-common",
":metrox-android",
":metrox-viewmodel",
":metrox-viewmodel-compose",
":runtime",
":runtime-coroutines",
)
// 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" } }
}
}
}
enableFeaturePreview("NO_IMPLICIT_LOOKUP_IN_PARENT_PROJECTS")