/
settings.gradle.kts
87 lines (73 loc) · 2.08 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
86
87
import com.eygraber.conventions.Env
import com.eygraber.conventions.repositories.addCommonRepositories
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("androidx.*")
}
}
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") {
content {
includeGroupByRegex("org\\.jetbrains.*")
}
}
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-51379/
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
addCommonRepositories(
includeMavenCentral = true,
includeMavenCentralSnapshots = true,
includeGoogle = true,
includeJetbrainsCompose = true,
)
}
}
plugins {
id("com.eygraber.conventions.settings") version "0.0.71"
id("com.gradle.develocity") version "3.17.4"
}
rootProject.name = "portals"
include(":portal")
include(":portal-android-serialization")
include(":portal-compose")
include(":portal-kodein-di")
include(":samples:icons")
include(":samples:kotlin-inject:android-app")
include(":samples:kotlin-inject:desktop-app")
include(":samples:kotlin-inject:shared")
include(":samples:kotlin-inject:webApp")
include(":samples:portal")
include(":samples:simple-portal")
include(":samples:simple-portal:android-app")
include(":samples:simple-portal:desktop-app")
include(":samples:simple-portal:webApp")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
publishing.onlyIf { Env.isCI }
if(Env.isCI) {
termsOfUseAgree = "yes"
}
}
}