1
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-10-06 00:23:15 +02: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

View File

@@ -46,6 +46,13 @@ subprojects {
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 {
testLogging {
events "skipped", "failed"