-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
30 lines (28 loc) · 873 Bytes
/
settings.gradle.kts
File metadata and controls
30 lines (28 loc) · 873 Bytes
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
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "AutoAVP"
include(":app")
// Redirect build directory to a local path to avoid Google Drive sync locks
gradle.beforeProject {
val isWindows = System.getProperty("os.name").lowercase().contains("win")
val localBuildPath = if (isWindows) "C:/temp/AutoAVP-build" else "/tmp/AutoAVP-build"
layout.buildDirectory.set(file("$localBuildPath/${project.name}"))
}