-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle.kts
85 lines (70 loc) · 2.01 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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()
}
}
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") {
content {
includeGroupByRegex("org\\.jetbrains.*")
}
}
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,
includeJetbrainsComposeDev = true,
)
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
}
}
plugins {
id("com.eygraber.conventions.settings") version "0.0.79"
id("com.gradle.develocity") version "3.18.2"
}
rootProject.name = "vice"
include(":samples:nav:androidApp")
include(":samples:nav:desktopApp")
include(":samples:nav:shared")
include(":samples:nav:wasmJsApp")
include(":vice-core")
include(":vice-nav")
include(":vice-nav-material3")
include(":vice-portal")
include(":vice-sources")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
publishing.onlyIf { Env.isCI }
if(Env.isCI) {
termsOfUseAgree = "yes"
}
}
}