google / google/protobuf-gradle-plugin
Exclude a file thats not a proto file.
- Dominant language
- Groovy
- Stars
- 1.8k
- Forks
- 288
- PR merge metrics
- No merged PRs in 30d
Description
Android Studio Plugin : com.google.protobuf:protobuf-gradle-plugin:0.9.0
Hi all,
I am trying to exclude a file that is within the proto folder, as I getting an error:
` WARNING T:\src\github\protobuf\src\google\protobuf\compiler\parser.cc:647] No syntax specified for the proto file: .editorconfig. `
within the android block, I am trying to exclude this file by adding exclude:
`
sourceSets {
main {
proto {
srcDir 'src/main/cloud-proto/'
exclude '.editorconfig'
}
proto {
srcDir 'src/main/custom-proto/'
}
}
}
`
Is this the right approach?
Contributor guide
Assessment
This issue has not been assessed yet.