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:
parent
3ba3dbc4d1
commit
be65c5e94b
@ -40,12 +40,13 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
tasks.register('sourcesJar', Jar) {
|
||||||
|
dependsOn classes
|
||||||
archiveClassifier.set('sources')
|
archiveClassifier.set('sources')
|
||||||
from sourceSets.main.allSource
|
from sourceSets.main.allSource
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(Test) {
|
tasks.withType(Test).configureEach {
|
||||||
testLogging {
|
testLogging {
|
||||||
events "skipped", "failed"
|
events "skipped", "failed"
|
||||||
showStandardStreams = true
|
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
|
// https://discuss.gradle.org/t/best-approach-gradle-multi-module-project-generate-just-one-global-javadoc/18657/21
|
||||||
task aggregatedJavadocs(type: Javadoc, group: 'Documentation') {
|
tasks.register('aggregatedJavadocs', Javadoc) {
|
||||||
destinationDir = file("$buildDir/docs/javadoc")
|
destinationDir = file("${layout.buildDirectory}/docs/javadoc")
|
||||||
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/8/docs/api/'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user