Skip to content

Conversation

@dkhawk
Copy link
Contributor

@dkhawk dkhawk commented Jan 6, 2026

Updates the clean task in ApiDemos/project/build.gradle.kts to use rootProject.layout.buildDirectory instead of projectDirectory. This prevents the task from wiping the entire project source tree.

Changes:

  • Replaced rootProject.layout.projectDirectory (incorrect) with rootProject.layout.buildDirectory (correct).
  • Verified other projects for similar destructive patterns (none found, though some legacy buildDir usage exists in tutorials).

@dkhawk dkhawk requested a review from kikoso January 6, 2026 01:20
Copy link
Collaborator

@kikoso kikoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kikoso kikoso merged commit 0d66da9 into main Jan 7, 2026
19 checks passed
@kikoso kikoso deleted the fix-clean-task branch January 7, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants