Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jdk modules for javadocs (fixes build)
- Loading branch information
1 parent
bf71f87
commit 9448b95
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
patches/api/0048-Add-jdk-modules-for-javadocs-fixes-build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |