From 0452e8e51279a7c56d052d00d33318e2697a2a44 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 1 Oct 2020 23:22:37 +0200 Subject: 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. --- buildSrc/src/main/kotlin/dokka-conventions.gradle.kts | 10 +++------- buildSrc/src/main/kotlin/kotlin-library-conventions.gradle.kts | 1 + 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'buildSrc/src/main/kotlin') 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 */ -- cgit v1.2.3