diff options
Diffstat (limited to 'buildSrc')
| -rw-r--r-- | buildSrc/build.gradle.kts | 6 | ||||
| -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 |
3 files changed, 10 insertions, 7 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index dc115999..94d6b19d 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -29,6 +29,11 @@ plugins { /* Project configuration */ repositories { gradlePluginPortal() + maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { + content { + includeGroup("org.jetbrains.kotlinx") + } + } } dependencies { @@ -37,6 +42,7 @@ dependencies { implementation("org.jetbrains.dokka:dokka-gradle-plugin:0.10.1") implementation("org.jetbrains.kotlin:kotlin-allopen:1.4.31") implementation("org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.3.0") + implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.32") } tasks.withType<KotlinCompile>().configureEach { 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 */ |
