-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
41 lines (40 loc) · 1.33 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
pluginManagement {
repositories {
if (File("properties/nexus.properties").exists()) {
val localProperties = java.util.Properties().apply {
load(java.io.FileInputStream("properties/nexus.properties"))
}
maven {
url = uri(localProperties.getProperty("url"))
credentials {
username = localProperties.getProperty("username")
password = localProperties.getProperty("password")
}
}
}
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
if (File("properties/nexus.properties").exists()) {
val localProperties = java.util.Properties().apply {
load(java.io.FileInputStream("properties/nexus.properties"))
}
maven {
url = uri(localProperties.getProperty("url"))
credentials {
username = localProperties.getProperty("username")
password = localProperties.getProperty("password")
}
}
}
google()
gradlePluginPortal()
}
}
rootProject.name = "Backgroundable"
include(":app")