forked from nhat-phan/foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
56 lines (45 loc) · 1.57 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
plugins {
// "org.jetbrains.kotlin.jvm"
kotlin("jvm") version "1.3.31" apply false
// "org.jetbrains.kotlin.kapt"
kotlin("kapt") version "1.3.31" apply false
// "kotlinx-serialization"
id("kotlinx-serialization") version "1.3.31" apply false
// "kotlin-multiplatform"
id("kotlin-multiplatform") version "1.3.31" apply false
}
subprojects {
if (name == "example-jvm") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "kotlinx-serialization")
}
if (name == "foundation") {
apply(plugin = "kotlin-multiplatform")
apply(plugin = "kotlinx-serialization")
}
if (name == "foundation-generator") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "kotlinx-serialization")
}
if (name == "foundation-processor") {
apply(plugin = "org.jetbrains.kotlin.jvm")
}
if (name == "generator-test") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "kotlinx-serialization")
}
if (name == "generator-test-contract") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
}
if (name == "integration-test-contract") {
apply(plugin = "org.jetbrains.kotlin.jvm")
}
if (name == "integration-test-service") {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "kotlinx-serialization")
}
}