-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
settings.gradle.kts
67 lines (53 loc) · 1.32 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
61
62
63
64
65
66
67
// Copyright 2023, Christopher Banes and the Haze project contributors
// SPDX-License-Identifier: Apache-2.0
pluginManagement {
includeBuild("gradle/build-logic")
repositories {
google {
content {
includeGroupByRegex(".*google.*")
includeGroupByRegex(".*android.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
// Compose Multiplatform pre-releases
// maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
mavenLocal()
}
}
plugins {
id("com.gradle.develocity") version "3.18.1"
}
val isCi: Boolean get() = !System.getenv("CI").isNullOrEmpty()
develocity {
buildScan {
termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use")
termsOfUseAgree.set("yes")
if (isCi) {
publishing.onlyIf { true }
tag("CI")
}
uploadInBackground.set(!isCi)
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
// https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:stable
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
rootProject.name = "haze-root"
include(
":haze",
":haze-materials",
":internal:benchmark",
":internal:screenshot-test",
":sample:shared",
":sample:android",
":sample:desktop",
":sample:web",
)