-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (46 loc) · 1.14 KB
/
build.gradle.kts
File metadata and controls
52 lines (46 loc) · 1.14 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
42
43
44
45
46
47
48
49
50
51
52
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id("org.jetbrains.dokka")
}
repositories {
mavenCentral()
}
dependencies {
dokka(project(":auth"))
dokka(project(":button"))
dokka(project(":core"))
dokka(project(":devices"))
dokka(project(":discover"))
dokka(project(":entertainment"))
dokka(project(":events"))
dokka(project(":grouped-lights"))
dokka(project(":homekit"))
dokka(project(":internals"))
dokka(project(":lights"))
dokka(project(":lightlevel"))
dokka(project(":resources"))
dokka(project(":rooms"))
dokka(project(":scenes"))
dokka(project(":serialization"))
dokka(project(":structures"))
dokka(project(":zones"))
}
dokka {
moduleName.set("Shade")
}
subprojects {
repositories {
mavenCentral()
}
tasks.withType(Test::class) {
testLogging.exceptionFormat = TestExceptionFormat.FULL
}
}
tasks.named("dokkaGeneratePublicationHtml") {
doLast {
copy {
from(layout.buildDirectory.dir("dokka/html"))
into(rootDir.resolve("docs/reference/${project.version}"))
}
}
}