google / google/protobuf-gradle-plugin

The task `compile*StaticLibrary*Cpp` should be made automatically dependent on the task `generateProto`.

Open
#132 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Groovy
Stars
1.8k
Forks
288
PR merge metrics
No merged PRs in 30d

Description

Otherwise, the latest generated source isn't compiled.

Contributor guide

Open the contributing guide

Research direction

Search the Gradle plugin sources for the task definitions `compile*StaticLibrary*Cpp` and `generateProto`, then read how task dependencies are configured. Reproduce the build ordering issue if possible and add or update the relevant test so the compile task waits for `generateProto` and uses the latest generated source.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.