File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ java {
1717 withJavadocJar()
1818}
1919
20+ sourceSets {
21+ main {
22+ java.srcDir(" ../timeago-parser/src/main/java" )
23+ }
24+ }
25+
2026// Protobuf files would uselessly end up in the JAR otherwise, see
2127// https://github.com/google/protobuf-gradle-plugin/issues/390
2228tasks.jar {
@@ -49,16 +55,17 @@ checkstyle {
4955
5056// Exclude Protobuf generated files from Checkstyle
5157tasks.checkstyleMain {
52- exclude(" org/schabi/newpipe/extractor/services/youtube/protos" )
58+ exclude(
59+ " org/schabi/newpipe/extractor/services/youtube/protos" ,
60+ " org/schabi/newpipe/extractor/timeago"
61+ )
5362}
5463
5564tasks.checkstyleTest {
5665 isEnabled = false // do not checkstyle test files
5766}
5867
5968dependencies {
60- implementation(project(" :timeago-parser" ))
61-
6269 implementation(libs.newpipe.nanojson)
6370 implementation(libs.jsoup)
6471 implementation(libs.google.jsr305)
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ dependencyResolutionManagement {
1818 maven(url = " https://jitpack.io" )
1919 }
2020}
21- include(" extractor" , " timeago-parser " , " timeago- generator" )
21+ include(" extractor" , " timeago-generator" )
2222rootProject.name = " NewPipeExtractor"
Original file line number Diff line number Diff line change 66dependencies {
77 implementation(libs.newpipe.nanojson)
88 implementation(libs.google.jsr305)
9- implementation(project(" :timeago-parser" ))
109}
You can’t perform that action at this time.
0 commit comments