-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
89 lines (80 loc) · 2.6 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
pluginManagement {
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
dependencyResolutionManagement {
repositories {
maven {
url = uri("https://cruglobal.jfrog.io/artifactory/maven-mobile/")
content {
includeGroup("org.ccci.gto.android")
includeGroup("org.ccci.gto.android.testing")
includeGroup("org.cru.godtools.kotlin")
includeGroup("org.cru.mobile.fork.antlr-kotlin")
includeGroup("org.cru.mobile.fork.material-color-utilities")
}
}
maven {
url = uri("https://jitpack.io")
content {
includeGroupByRegex("com\\.github\\..*")
excludeGroup("com.github.ajalt.colormath")
}
}
maven {
// This repository contains pre-release versions of the Compose Compiler
url = uri("https://androidx.dev/storage/compose-compiler/repository/")
content {
includeGroup("androidx.compose.compiler")
}
}
maven {
// This repo is for resolution of the transitive kustomexport annotation dependency used in godtools-shared
url = uri("https://raw.githubusercontent.com/Deezer/KustomExport/mvn-repo")
content {
includeGroup("deezer.kustomexport")
}
}
google()
mavenCentral()
}
}
rootProject.name = "godtools"
includeBuild("build-logic")
include("library:account")
include("library:analytics")
include("library:api")
include("library:base")
include("library:db")
include("library:download-manager")
include("library:initial-content")
include("library:model")
include("library:sync")
include("library:user-data")
include("ui:article-aem-renderer")
include("ui:article-renderer")
include("ui:base")
include("ui:base-tool")
include("ui:cyoa-renderer")
include("ui:lesson-renderer")
include("ui:shortcuts")
include("ui:tips-renderer")
include("ui:tract-renderer")
include("ui:tutorial-renderer")
include("app")
include("feature:bundledcontent")
// automatically accept the scans.gradle.com TOS when running in GHA
if (System.getenv("GITHUB_ACTIONS")?.toBoolean() == true) {
extensions.findByName("gradleEnterprise")?.withGroovyBuilder {
getProperty("buildScan").withGroovyBuilder {
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
setProperty("termsOfServiceAgree", "yes")
}
}
}