-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
58 lines (48 loc) · 1.71 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
import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform
rootProject.name = "explyt-spring"
pluginManagement {
val kotlinVersion: String by settings
val gradleIntellijPluginVersion: String by settings
plugins {
kotlin("jvm") version kotlinVersion apply false
id("org.jetbrains.intellij.platform") version gradleIntellijPluginVersion apply false
id("org.jetbrains.intellij.platform.module") version gradleIntellijPluginVersion apply false
id("org.jetbrains.intellij.platform.migration") version gradleIntellijPluginVersion apply false
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
id("org.jetbrains.intellij.platform.settings") version "2.1.0"
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
mavenLocal()
mavenCentral()
intellijPlatform {
defaultRepositories()
jetbrainsRuntime()
localPlatformArtifacts()
}
}
}
includeProject("base")
includeProject("spring-core")
includeProject("spring-data")
includeProject("spring-security")
includeProject("spring-web")
includeProject("spring-cloud")
includeProject("spring-initializr")
includeProject("spring-integration")
includeProject("spring-messaging")
includeProject("spring-aop")
includeProject("jpa")
includeProject("test-framework")
includeProject("spring-gradle")
includeProject("spring-bootstrap")
fun includeProject(name: String, path: String = "modules/$name") {
include(":$name")
project(":$name").projectDir = File(settingsDir, path)
project(":$name").buildFileName = "${name}.gradle.kts"
}