forked from bisq-network/bisq-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
53 lines (49 loc) · 1.42 KB
/
settings.gradle.kts
File metadata and controls
53 lines (49 loc) · 1.42 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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven {
url = uri("https://jitpack.io")
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// always, for faster builds
mavenLocal()
// Check if we're running in CI environment
val isCi = System.getenv("CI") == "true"
val mavenUrl = System.getenv("MAVEN_URL")
if (isCi && mavenUrl != null) {
// Use the remote Maven repository for CI builds
maven {
url = uri(mavenUrl)
isAllowInsecureProtocol = true
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
maven {
url = uri("https://jitpack.io")
}
}
}
rootProject.name = "BisqApps"
include(":shared:domain")
include(":shared:presentation")
include(":androidClient")
include(":androidNode")