2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-22 09:57:38 +00:00

Fix *.proto ending up in JAR

This commit is contained in:
Stypox 2025-07-16 13:43:13 +02:00
parent be65c5e94b
commit a3e2d4887c
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -46,6 +46,13 @@ subprojects {
from sourceSets.main.allSource from sourceSets.main.allSource
} }
// Protobuf files would uselessly end up in the JAR otherwise, see
// https://github.com/google/protobuf-gradle-plugin/issues/390
tasks.withType(Jar).configureEach {
exclude '**/*.proto'
includeEmptyDirs false
}
tasks.withType(Test).configureEach { tasks.withType(Test).configureEach {
testLogging { testLogging {
events "skipped", "failed" events "skipped", "failed"