forked from ktorio/ktor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (35 loc) · 1.04 KB
/
build.gradle.kts
File metadata and controls
41 lines (35 loc) · 1.04 KB
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
/*
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
val internalProjects = listOf(
"ktor-client-content-negotiation-tests",
"ktor-client-test-base",
"ktor-client-tests",
"ktor-serialization-kotlinx-tests",
"ktor-serialization-tests",
"ktor-server-test-base",
"ktor-server-test-suites",
"ktor-server-tests",
"ktor-test-base",
)
val nonDefaultProjectStructure by extra {
listOf(
"ktor-dokka",
"ktor-bom",
"ktor-java-modules-test",
)
}
plugins {
id("ktorbuild.doctor")
id("ktorbuild.compatibility")
id("ktorbuild.publish.verifier")
}
println("Build version: ${project.version}")
subprojects {
when (project.name) {
in nonDefaultProjectStructure -> apply(plugin = "ktorbuild.base")
in internalProjects -> apply(plugin = "ktorbuild.project.internal")
else -> apply(plugin = "ktorbuild.project.library")
}
}
println("Using Kotlin compiler version: ${libs.versions.kotlin.get()}")