-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathbuild.gradle.kts
60 lines (55 loc) · 1.34 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
57
58
59
60
plugins {
kotlin("multiplatform") apply false
kotlin("plugin.serialization") apply false
id("com.google.devtools.ksp") apply false
id("org.jetbrains.dokka")
id("org.jetbrains.kotlinx.binary-compatibility-validator")
id("maven-publish")
signing
}
allprojects {
//manage common setting and dependencies
repositories {
mavenCentral()
}
}
subprojects {
group = "dev.fritz2"
version = "1.0-SNAPSHOT"
}
tasks.dokkaHtmlMultiModule.configure {
outputDirectory.set(rootDir.resolve("api"))
}
tasks.register("metadataToWww") {
doLast {
File(rootDir.resolve("www/src/_data"), "fritz2.json").writeText(
"""
{
"version": "${subprojects.find { it.name == "core" }?.version ?: ""}"
}
""".trimIndent()
)
}
}
apiValidation {
ignoredProjects.addAll(
listOf(
"lenses-annotation-processor",
"test-server",
"headless-demo",
"snippets",
"examples",
"gettingstarted",
"nestedmodel",
"performance",
"remote",
"masterdetail",
"routing",
"tictactoe",
"todomvc",
"validation",
"webcomponent",
"serialization"
)
)
}