-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
48 lines (42 loc) · 1.51 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
@file:Suppress("UnstableApiUsage")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
gradlePluginPortal()
}
}
val isFleetIDE = providers.systemProperty("idea.vendor.name").filter { it == "JetBrains" }
val androidGradleOverride = isFleetIDE.map { "8.7.2" }
.orElse(providers.gradleProperty("android.gradle"))
val androidJvmOverride = providers.gradleProperty("android.jvm")
dependencyResolutionManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
maven("https://adsbynimbus-public.s3.amazonaws.com/android/sdks") {
content { includeGroupByRegex(".*\\.adsbynimbus.*") }
}
mavenCentral()
}
// Allows for overriding Android Tooling using gradle.properties
versionCatalogs.configureEach {
if (androidGradleOverride.isPresent) version("android", androidGradleOverride.get())
if (androidJvmOverride.isPresent) version("android-jvm", androidJvmOverride.get())
}
}
rootProject.name = "nimbus-solutions"
include(":app:compose")
include(":dynamic-price:android")