google / protobuf-gradle-plugin

Protobuf Plugin for Gradle
Other
1.77k stars 273 forks source link

In version 0.9.0, plugin tries to parse .gitlab-ci.yml file #622

Closed stealthrabbi closed 2 years ago

stealthrabbi commented 2 years ago

On version 0.8.19, the plugin generated source w\o issue. On 0.9.0, it is trying to parse .gitlab-ci.yml as a proto file and failing. Perhaps it is ignoring source sets?

$ ./gradlew build Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details

Task :generateProto FAILED

FAILURE: Build failed with an exception.

rougsig commented 2 years ago

duplication of https://github.com/google/protobuf-gradle-plugin/issues/620