mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Add jdk modules for javadocs (fixes build)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: BillyGalbreath <Blake.Galbreath@Gmail.com>
|
||||
Date: Sat, 12 Feb 2022 06:33:47 -0600
|
||||
Subject: [PATCH] Add jdk modules for javadocs (fixes build)
|
||||
|
||||
|
||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||
index 9719d5af48dac1f75f72bfd34a6fe146bb4011bc..bac527acaa1826486a8183bcccb4d64654a0efed 100644
|
||||
--- a/build.gradle.kts
|
||||
+++ b/build.gradle.kts
|
||||
@@ -102,6 +102,7 @@ tasks.jar {
|
||||
}
|
||||
|
||||
tasks.withType<Javadoc> {
|
||||
+ (options as StandardJavadocDocletOptions).addStringOption("-add-modules", "jdk.incubator.vector") // Purpur - our javadocs need this for pufferfish's SIMD patch
|
||||
inputs.files(apiAndDocs)
|
||||
.ignoreEmptyDirectories()
|
||||
.withPropertyName(apiAndDocs.name + "-configuration")
|
||||
Reference in New Issue
Block a user