Commit 14a99b9
Guard javadoc -Werror behind JDK 15+
The -Werror flag for the javadoc tool was added in JDK 15
(https://bugs.openjdk.org/browse/JDK-8232513). On older JDKs javadoc
rejects the flag outright, which breaks any task that invokes javadoc
(javadocJar, and therefore publishToSonatype / publishToMavenLocal)
when Gradle is running on JDK 11.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dce350c commit 14a99b9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments