Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions extractor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ java {
withJavadocJar()
}

sourceSets {
main {
java.srcDir("../timeago-parser/src/main/java")
}
}

// Protobuf files would uselessly end up in the JAR otherwise, see
// https://github.com/google/protobuf-gradle-plugin/issues/390
tasks.jar {
Expand Down Expand Up @@ -49,16 +55,17 @@ checkstyle {

// Exclude Protobuf generated files from Checkstyle
tasks.checkstyleMain {
exclude("org/schabi/newpipe/extractor/services/youtube/protos")
exclude(
"org/schabi/newpipe/extractor/services/youtube/protos",
"org/schabi/newpipe/extractor/timeago"
)
}

tasks.checkstyleTest {
isEnabled = false // do not checkstyle test files
}

dependencies {
implementation(project(":timeago-parser"))

implementation(libs.newpipe.nanojson)
implementation(libs.jsoup)
implementation(libs.google.jsr305)
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ dependencyResolutionManagement {
maven(url = "https://jitpack.io")
}
}
include("extractor", "timeago-parser", "timeago-generator")
include("extractor", "timeago-generator")
rootProject.name = "NewPipeExtractor"
1 change: 0 additions & 1 deletion timeago-generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
dependencies {
implementation(libs.newpipe.nanojson)
implementation(libs.google.jsr305)
implementation(project(":timeago-parser"))
}