-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
62 lines (58 loc) · 1.92 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
@file:Suppress("UnstableApiUsage")
pluginManagement {
includeBuild("build-logic")
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
includeGroupAndSubgroups("org.chromium")
}
}
mavenCentral()
if (providers.environmentVariable("GITHUB_ACTIONS").isPresent) {
// If running in Github Actions, use Github packages because it's free
maven("https://maven.pkg.github.com/timehop/nimbus-openrtb") {
name = "openrtb"
credentials(PasswordCredentials::class)
content {
includeGroup("com.adsbynimbus.openrtb")
}
}
}
// Provides access to Nimbus SDK artifacts
maven("https://adsbynimbus-public.s3.amazonaws.com/android/sdks") {
content {
includeGroupByRegex(".*\\.adsbynimbus.*")
}
}
// Provides access to the LiveRamp SDK
maven("https://sdk-android-prod.launch.liveramp.com") {
content {
includeGroupByRegex(".*\\.liveramp.*")
}
}
// Provides access to the Mintegral SDK
maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea") {
content {
includeGroupByRegex(".*\\.mbridge.*")
}
}
}
}
rootProject.name = "nimbus-android-sample"
include("app")