-
Notifications
You must be signed in to change notification settings - Fork 5
/
settings.gradle.kts
64 lines (53 loc) · 1.41 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
63
64
import com.eygraber.conventions.Env
import com.eygraber.conventions.repositories.addCommonRepositories
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots") {
mavenContent {
snapshotsOnly()
}
}
maven("https://s01.oss.sonatype.org/content/repositories/snapshots") {
mavenContent {
snapshotsOnly()
}
}
gradlePluginPortal()
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
// comment this out for now because it doesn't work with KMP js
// https://youtrack.jetbrains.com/issue/KT-55620/KJS-Gradle-plugin-doesnt-support-repositoriesMode
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
addCommonRepositories(
includeMavenCentral = true,
includeMavenCentralSnapshots = true,
includeGoogle = true,
)
}
}
plugins {
id("com.eygraber.conventions.settings") version "0.0.81"
id("com.gradle.develocity") version "3.18.2"
}
rootProject.name = "uri-kmp"
include(":uri")
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
publishing.onlyIf { Env.isCI }
if(Env.isCI) {
termsOfUseAgree = "yes"
}
}
}