Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Merge pull request #405 from zml2008/fix/jd-search
build: Fix search when generating Javadoc with broken java versions
Dieser Commit ist enthalten in:
Commit
ce34a8c1b5
@ -96,6 +96,11 @@ javadoc {
|
||||
|
||||
// Mark sources as Java 8 source compatible
|
||||
options.source = '8'
|
||||
|
||||
// Remove 'undefined' from seach paths when generating javadoc for a non-modular project (JDK-8215291)
|
||||
if (JavaVersion.current() >= JavaVersion.VERSION_1_9 && JavaVersion.current() < JavaVersion.VERSION_12) {
|
||||
options.addBooleanOption('-no-module-directories', true)
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren