mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-22 01:48:58 +00:00
Let IDE fix warnings in build.gradle
This commit is contained in:
parent
3ba3dbc4d1
commit
be65c5e94b
@ -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/'
|
||||
|
Loading…
x
Reference in New Issue
Block a user