2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-22 01:48:58 +00:00

Merge pull request #1358 from TeamNewPipe/fix-gradle-jdoc

Fix aggregatedJavadocs task and update API link to JDK 11
This commit is contained in:
wb9688 2025-08-01 11:29:51 +02:00 committed by GitHub
commit 6f51a23fa5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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