google / google/protobuf-gradle-plugin
BuildType is added to the output path
- Dominant language
- Groovy
- Stars
- 1.8k
- Forks
- 288
- PR merge metrics
- No merged PRs in 30d
Description
I have an Android project and I set up this plugin with this config.
```
protobuf {
generatedFilesBaseDir = "$projectDir/src"
// Configure the protoc executable
protoc {
// Download from repositories
artifact = 'com.google.protobuf:protoc:3.0.0'
}
generateProtoTasks {
all().each { task ->
task.builtins {
java { }
}
}
}
}
```
for some reason the output files are not going to `src/main/java` but `src/{buildType}/java` so for example if I build the debug type the output file is `src/debug/java`. How can I make the output path always be `src/main/java`?
Contributor guide
Assessment
This issue has not been assessed yet.