-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
37 lines (30 loc) · 1.06 KB
/
build.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
plugins {
// "org.jetbrains.kotlin.jvm"
kotlin("jvm") version "1.3.50" apply false
// "org.jetbrains.kotlin.kapt"
kotlin("kapt") version "1.3.50" apply false
// "kotlinx-serialization"
id("kotlinx-serialization") version "1.3.50" apply false
id("org.jetbrains.intellij") version "0.4.12" apply false
}
subprojects {
if (name == "contracts") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
}
if (name == "core") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "kotlinx-serialization")
}
if (name == "intellij-code-cleaner") {
apply(plugin = "org.jetbrains.intellij")
apply(plugin = "org.jetbrains.kotlin.jvm")
}
if (name == "intellij-code-cleaner-components") {
apply(plugin = "org.jetbrains.intellij")
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "kotlinx-serialization")
}
}