Skip to content

Commit

Permalink
Made dependency on build.gradle in protobuf tasks relative so as to m…
Browse files Browse the repository at this point in the history
…ake downstream tasks cacheable
  • Loading branch information
Faqa committed Jan 23, 2023
1 parent b289519 commit 93be0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ subprojects {
all().each { task ->
// Recompile protos when build.gradle has been changed, because
// it's possible the version of protoc has been changed.
task.inputs.file "${rootProject.projectDir}/build.gradle"
task.inputs.file("${rootProject.projectDir}/build.gradle").withPathSensitivity(PathSensitivity.RELATIVE)
if (isAndroid) {
task.builtins {
java { option 'lite' }
Expand Down

0 comments on commit 93be0a3

Please sign in to comment.