NewPipeExtractor/build.gradle

58 lines
1.4 KiB
Groovy
Raw Normal View History

allprojects {
apply plugin: 'java-library'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
2021-02-15 02:39:17 +05:30
version 'v0.20.10'
group 'com.github.TeamNewPipe'
2017-08-05 13:33:56 +05:30
repositories {
jcenter()
2020-04-16 19:38:14 +05:30
maven { url "https://jitpack.io" }
}
2017-08-05 13:33:56 +05:30
}
dependencies {
2020-06-27 03:02:43 +05:30
api project(':extractor')
implementation project(':timeago-parser')
}
subprojects {
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
2017-08-09 18:55:02 +05:30
tasks.withType(Test) {
testLogging {
events "skipped", "failed"
showStandardStreams = true
exceptionFormat = 'full'
}
}
2017-11-30 15:06:49 +05:30
artifacts {
archives sourcesJar
2017-11-30 15:06:49 +05:30
}
}
// 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")
title = "$project.name $version"
// options.memberLevel = JavadocMemberLevel.PRIVATE
options.links 'https://docs.oracle.com/javase/8/docs/api/'
options.encoding 'UTF-8'
subprojects.each { project ->
project.tasks.withType(Javadoc).each { javadocTask ->
source += javadocTask.source
classpath += javadocTask.classpath
excludes += javadocTask.excludes
includes += javadocTask.includes
}
}
}