forked from nhat-phan/merge-request-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
41 lines (33 loc) · 1.19 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
38
39
40
41
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")
apply(plugin = "kotlinx-serialization")
}
if (name == "merge-request-integration") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "kotlinx-serialization")
}
if (name == "merge-request-integration-core") {
apply(plugin = "org.jetbrains.intellij")
apply(plugin = "org.jetbrains.kotlin.jvm")
}
if (name == "merge-request-integration-ce") {
apply(plugin = "org.jetbrains.intellij")
apply(plugin = "org.jetbrains.kotlin.jvm")
}
if (name == "merge-request-integration-ee") {
apply(plugin = "org.jetbrains.intellij")
apply(plugin = "org.jetbrains.kotlin.jvm")
}
}