-
Notifications
You must be signed in to change notification settings - Fork 19
/
settings.gradle.kts
75 lines (60 loc) · 2.02 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
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://packages.atlassian.com/maven/repository/public")
}
fun systemProperty(name: String): Provider<String> {
return providers.systemProperty(name)
}
val gradleIntellijPluginVersion = systemProperty("gradleIntellijPluginVersion")
val gradleChangelogPluginVersion = systemProperty("gradleChangelogPluginVersion")
val kotlinVersion = systemProperty("kotlinVersion")
val detektVersion = systemProperty("detektVersion")
resolutionStrategy {
eachPlugin {
val pluginId = requested.id.id
when {
pluginId == "org.jetbrains.intellij" ->
useVersion(gradleIntellijPluginVersion.get())
pluginId == "org.jetbrains.changelog" ->
useVersion(gradleChangelogPluginVersion.get())
pluginId == "io.gitlab.arturbosch.detekt" ->
useVersion(detektVersion.get())
pluginId.startsWith("org.jetbrains.kotlin.") ->
useVersion(kotlinVersion.get())
}
}
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://packages.atlassian.com/maven/repository/public")
}
}
rootProject.name = "hh-android-plugins"
includeBuild("libraries")
includeBuild("build-logic")
// region Shared modules
// region Shared core modules
include(":shared:core:utils")
include(":shared:core:freemarker")
include(":shared:core:ui")
include(":shared:core:code-modification")
include(":shared:core:models")
include(":shared:core:psi-utils")
include(":shared:core:logger")
include(":shared:core:notifications")
include(":shared:core:android-studio-stubs")
// endregion
// region Shared features
include(":shared:feature:geminio-sdk")
// endregion
// endregion
// Plugins
include(":plugins:hh-carnival")
include(":plugins:hh-garcon")
include(":plugins:hh-geminio")