diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index bc0b00c..838fed2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,6 @@ import gg.essential.gradle.util.RelocationTransform.Companion.registerRelocation import gg.essential.gradle.util.prebundle plugins { - kotlin("jvm") id("gg.essential.multi-version") id("gg.essential.defaults.repo") id("gg.essential.defaults.java") @@ -12,7 +11,6 @@ plugins { id("com.github.johnrengelman.shadow") id("net.kyori.blossom") version "1.3.0" id("io.github.juuxel.loom-quiltflower-mini") - id("org.jetbrains.dokka") version "1.6.20" id("maven-publish") id("signing") java @@ -151,8 +149,6 @@ dependencies { lwjglNative("org.lwjgl:lwjgl-nanovg:3.3.1:natives-macos") shade(lwjglJar.get().outputs.files) shade(prebundle(shadeRelocated)) - - dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:1.6.20") } tasks.processResources { @@ -234,13 +230,9 @@ tasks { archiveClassifier.set("") enabled = false } - dokkaHtml.configure { - outputDirectory.set(buildDir.resolve("dokka")) - dokkaSourceSets { - configureEach { - jdkVersion.set(8) - } - } + javadoc { + val o: StandardJavadocDocletOptions = options as StandardJavadocDocletOptions + o.stylesheetFile(File(project.rootDir,"dracula-javadoc8.css")) } } |