Skip to content

Commit

Permalink
Add property name to path to root build.gradle
Browse files Browse the repository at this point in the history
Co-authored-by: Nelson Osacky <nelson@osacky.com>
  • Loading branch information
asafflesch and runningcode authored Jan 24, 2023
1 parent 3025d85 commit 7649cfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ 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").withPathSensitivity(PathSensitivity.RELATIVE)
task.inputs.file("${rootProject.projectDir}/build.gradle")
.withPathSensitivity(PathSensitivity.RELATIVE)
.withPropertyName('root build.gradle')
if (isAndroid) {
task.builtins {
java { option 'lite' }
Expand Down

0 comments on commit 7649cfb

Please sign in to comment.