2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-22 09:57:38 +00:00

Let IDE fix warnings in build.gradle

This commit is contained in:
Stypox 2025-07-16 13:33:21 +02:00
parent 3ba3dbc4d1
commit be65c5e94b
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -40,12 +40,13 @@ dependencies {
}
subprojects {
task sourcesJar(type: Jar, dependsOn: classes) {
tasks.register('sourcesJar', Jar) {
dependsOn classes
archiveClassifier.set('sources')
from sourceSets.main.allSource
}
tasks.withType(Test) {
tasks.withType(Test).configureEach {
testLogging {
events "skipped", "failed"
showStandardStreams = true
@ -59,8 +60,8 @@ subprojects {
}
// https://discuss.gradle.org/t/best-approach-gradle-multi-module-project-generate-just-one-global-javadoc/18657/21
task aggregatedJavadocs(type: Javadoc, group: 'Documentation') {
destinationDir = file("$buildDir/docs/javadoc")
tasks.register('aggregatedJavadocs', Javadoc) {
destinationDir = file("${layout.buildDirectory}/docs/javadoc")
title = "$project.name $version"
// options.memberLevel = JavadocMemberLevel.PRIVATE
options.links 'https://docs.oracle.com/javase/8/docs/api/'