diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-01 23:22:37 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-03 20:15:56 +0200 |
| commit | 0452e8e51279a7c56d052d00d33318e2697a2a44 (patch) | |
| tree | c4e855e3c9eb70cfcea067a1fb089586167cf1a2 /buildSrc/src/main/kotlin | |
| parent | 19f6ae16e68ca81a6cf0aae023caaa52df6ebce6 (diff) | |
build: Migrate to Dokka 1.4.32
This change migrates Dokka, the documentation generation tool for
Kotlin, to version 1.4.32. This is a significant upgrade over the
previous version which should support multiple modules as well as
multiple output formats.
Diffstat (limited to 'buildSrc/src/main/kotlin')
| -rw-r--r-- | buildSrc/src/main/kotlin/dokka-conventions.gradle.kts | 10 | ||||
| -rw-r--r-- | buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts | 1 |
2 files changed, 4 insertions, 7 deletions
diff --git a/buildSrc/src/main/kotlin/dokka-conventions.gradle.kts b/buildSrc/src/main/kotlin/dokka-conventions.gradle.kts index 91156cbf..1df9a15c 100644 --- a/buildSrc/src/main/kotlin/dokka-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/dokka-conventions.gradle.kts @@ -1,7 +1,5 @@ /* - * MIT License - * - * Copyright (c) 2021 atlarge-research + * Copyright (c) 2021 AtLarge Research * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -22,12 +20,10 @@ * SOFTWARE. */ -import org.jetbrains.dokka.gradle.DokkaTask - plugins { id("org.jetbrains.dokka") } -tasks.getting(DokkaTask::class) { - outputFormat = "html" +repositories { + mavenCentral() } diff --git a/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts b/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts index cf3f2569..43b1d148 100644 --- a/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts @@ -28,6 +28,7 @@ plugins { `java-library` kotlin("jvm") id("org.jlleitschuh.gradle.ktlint") + id("dokka-conventions") } /* Project configuration */ |
