Skip to content

Commit 6f51a23

Browse files
authored
Merge pull request #1358 from TeamNewPipe/fix-gradle-jdoc
Fix aggregatedJavadocs task and update API link to JDK 11
2 parents f668a0b + b5c7d57 commit 6f51a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ subprojects {
6868

6969
// https://discuss.gradle.org/t/best-approach-gradle-multi-module-project-generate-just-one-global-javadoc/18657/21
7070
tasks.register('aggregatedJavadocs', Javadoc) {
71-
destinationDir = file("${layout.buildDirectory}/docs/javadoc")
71+
destinationDir = layout.buildDirectory.file("docs/javadoc").get().asFile
7272
title = "$project.name $version"
7373
// options.memberLevel = JavadocMemberLevel.PRIVATE
74-
options.links 'https://docs.oracle.com/javase/8/docs/api/'
74+
options.links 'https://docs.oracle.com/javase/11/docs/api/'
7575
options.encoding 'UTF-8'
7676
// Fixes unknown tag @implNote; the other two were added precautionary
7777
options.tags = [

0 commit comments

Comments
 (0)