diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-27 23:53:56 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-27 23:53:56 +0200 |
commit | a4857ad657bc14009ac2d47b89c6981761d40df9 (patch) | |
tree | a4ce741302619591656b2114a5ad7bbee66af4fe /build.gradle.kts | |
parent | 358d5ca1a93b07003c5f45c30364de27a7fc101d (diff) | |
download | OneConfig-a4857ad657bc14009ac2d47b89c6981761d40df9.tar.gz OneConfig-a4857ad657bc14009ac2d47b89c6981761d40df9.tar.bz2 OneConfig-a4857ad657bc14009ac2d47b89c6981761d40df9.zip |
proof of concept, custom javadoc stylesheet (dracula)
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")) } } |