blob: da366c88e11bf123f9671046073d2edfe4062221 (
plain)
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
|
plugins {
buildsrc.conventions.`maven-publish-test`
buildsrc.conventions.`dokkatoo-example-projects`
}
dokkaTemplateProjects {
register(
source = "examples/gradle/dokka-customFormat-example",
destination = "custom-format-example/dokka"
)
register(
source = "examples/gradle/dokka-gradle-example",
destination = "gradle-example/dokka"
)
register(
source = "examples/gradle/dokka-kotlinAsJava-example",
destination = "kotlin-as-java-example/dokka"
)
register(
source = "examples/gradle/dokka-library-publishing-example",
destination = "library-publishing-example/dokka"
)
register(
source = "examples/gradle/dokka-multimodule-example",
destination = "multimodule-example/dokka"
)
register(
source = "examples/gradle/dokka-multiplatform-example",
destination = "multiplatform-example/dokka"
)
register(
source = "examples/gradle/dokka-versioning-multimodule-example",
destination = "versioning-multimodule-example/dokka"
)
}
configurations.exampleProjectsElements.configure {
outgoing {
artifact(projectDir) {
builtBy(tasks.updateDokkatooExamples)
type = "directory"
}
}
}
dokkaSourceDownload {
dokkaVersion.set(libs.versions.kotlin.dokka)
}
|