mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-12 21:30:33 +05:30
a4399fd4ad
Bumps [spotbugs-annotations](https://github.com/spotbugs/spotbugs) from 4.5.2 to 4.5.3. - [Release notes](https://github.com/spotbugs/spotbugs/releases) - [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md) - [Commits](https://github.com/spotbugs/spotbugs/compare/4.5.2...4.5.3) --- updated-dependencies: - dependency-name: com.github.spotbugs:spotbugs-annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
83 lines
2.1 KiB
Groovy
83 lines
2.1 KiB
Groovy
allprojects {
|
|
apply plugin: 'java-library'
|
|
apply plugin: 'maven-publish'
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
compileTestJava.options.encoding = 'UTF-8'
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
version 'v0.21.12'
|
|
group 'com.github.TeamNewPipe'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
afterEvaluate {
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
from components.java
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
ext {
|
|
nanojsonVersion = "1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"
|
|
spotbugsVersion = "4.5.3"
|
|
junitVersion = "5.8.2"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api project(':extractor')
|
|
implementation project(':timeago-parser')
|
|
}
|
|
|
|
subprojects {
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
archiveClassifier.set('sources')
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
testLogging {
|
|
events "skipped", "failed"
|
|
showStandardStreams = true
|
|
exceptionFormat = 'full'
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
}
|
|
}
|
|
|
|
// 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'
|
|
// Fixes unknown tag @implNote; the other two were added precautionary
|
|
options.tags = [
|
|
"apiNote:a:API Note:",
|
|
"implSpec:a:Implementation Requirements:",
|
|
"implNote:a:Implementation Note:"
|
|
]
|
|
|
|
subprojects.each { project ->
|
|
project.tasks.withType(Javadoc).each { javadocTask ->
|
|
source += javadocTask.source
|
|
classpath += javadocTask.classpath
|
|
excludes += javadocTask.excludes
|
|
includes += javadocTask.includes
|
|
}
|
|
}
|
|
}
|