Skip to content

Commit

Permalink
chore: Added dokka for javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Dec 23, 2023
1 parent 81bf4fa commit 53d8726
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode

plugins {
kotlin("jvm") version "1.9.10"
id("org.jetbrains.dokka") version "1.9.10"
id("com.diffplug.spotless") version "6.23.3"
id("net.kyori.indra") version "3.1.3"
id("net.kyori.indra.publishing") version "3.1.3"
Expand Down Expand Up @@ -212,3 +213,7 @@ val downloadKotlinRuntime =
tasks.runMindustryServer {
mods.setFrom(tasks.shadowJar, downloadDistributorCore, downloadKotlinRuntime)
}

tasks.javadocJar {
from(tasks.dokkaHtml)
}

0 comments on commit 53d8726

Please sign in to comment.