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:
parent
be65c5e94b
commit
a3e2d4887c
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user