-
-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
58 lines (51 loc) · 1.82 KB
/
settings.gradle.kts
File metadata and controls
58 lines (51 loc) · 1.82 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
/*
* Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
*/
pluginManagement {
repositories { // used for resolving plugins
google() // Android plugins
gradlePluginPortal() // most plugins, including AboutLibraries
}
}
dependencyResolutionManagement {
// Repositories declared in settings.gradle(.kts) override those declared in a project.
repositoriesMode = RepositoriesMode.PREFER_SETTINGS
repositories { // used for resolving dependencies
mavenCentral() // most Java stuff
google() // Android libs
maven("https://jitpack.io") // AppIntro, dav4jvm, synctools
}
}
// use remote build cache, if configured
val buildCacheUrl = System.getenv("GRADLE_BUILDCACHE_URL")
if (!buildCacheUrl.isNullOrEmpty()) {
buildCache {
remote<HttpBuildCache> {
url = uri(buildCacheUrl)
credentials {
username = System.getenv("GRADLE_BUILDCACHE_USERNAME")
password = System.getenv("GRADLE_BUILDCACHE_PASSWORD")
}
isPush = true // read/write
}
}
}
include(":app-ose")
include(":core")
// Uncomment for debugging / working in the subprojects.
// Make sure that you have checked out the desired branch in the respective subproject!
/*includeBuild("../cert4android") {
dependencySubstitution {
substitute(module("com.github.bitfireat:cert4android")).using(project(":lib"))
}
}*/
/*includeBuild("../dav4jvm") {
dependencySubstitution {
substitute(module("com.github.bitfireat:dav4jvm")).using(project(":"))
}
}*/
/*includeBuild("../synctools") {
dependencySubstitution {
substitute(module("com.github.bitfireAT:synctools")).using(project(":lib"))
}
}*/