square / wire

gRPC and protocol buffers for Android, Kotlin, Swift and Java.
https://square.github.io/wire/
Apache License 2.0
4.23k stars 571 forks source link

No eager source access on Task #2923

Closed oldergod closed 4 months ago

oldergod commented 4 months ago

How important is it that some tasks have NO-SOURCE outcome vs just SUCCESS and empty output dir? I've always felt NO-SOURCE was unnecessary there.

We have conflicting logic. If Gradle thinks there's no source, we go NO-SOURCE but if it thinks there's source, Wire loads and find nothing, we throw. This would be a breaking change to modify any of that.