Skip to content

Commit

Permalink
Add jdk modules for javadocs (fixes build)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyGalbreath committed Feb 12, 2022
1 parent bf71f87 commit 9448b95
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions patches/api/0048-Add-jdk-modules-for-javadocs-fixes-build.patch
@@ -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")

0 comments on commit 9448b95

Please sign in to comment.