Skip to content

Build Gradle plugin from source and fix configuration-cache logging - #396

Merged
rossbacher merged 2 commits into
masterfrom
rossbacher-fix-manifest-configuration-cache
Sep 22, 2026
Merged

rossbacher merged 2 commits into
masterfrom
rossbacher-fix-manifest-configuration-cache

Conversation

@rossbacher

@rossbacher rossbacher commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

The repository's root buildscript depends on its own published deeplinkdispatch-gradle-plugin:7.3.0-SNAPSHOT. When that snapshot is unavailable, even the commands needed to build, test, or publish the plugin fail during configuration.

Bootstrap the existing plugin and base-library sources through buildSrc, and remove the published-plugin buildscript dependency. The samples now use the plugin from the current checkout without a preliminary publication. The existing plugin project retains its test and publishing tasks, while dependency versions and JVM settings come from dependencies.gradle. Update the sample comments and contributor documentation to describe this workflow.

Also fix the missing-manifest diagnostic in RelocateDeepLinkManifestTask: use the task's path instead of accessing project.name during execution. A regression test verifies both configuration-cache storage and reuse with the task action forced to execute each time.

Context: https://airbnb.slack.com/archives/DA5UX38NP/p1790030644332959

Validation

  • Normal repository build: all 13 Gradle plugin tests passed, and :sample-ksp-library:assembleDebug succeeded using the local plugin (--no-build-cache).
  • The configuration-cache regression test fails against the original logging code with the reported Task.project error.
  • The existing -PenforceSnapshotVersion=true publishAllPublicationsToMavenCentral command resolves successfully with --dry-run --offline; no artifacts were uploaded.

Review

@airbnb/android-platform

@rossbacher rossbacher changed the title Fix manifest relocation with configuration cache Build Gradle plugin from source and fix configuration-cache logging Sep 21, 2026
@rossbacher
rossbacher marked this pull request as ready for review September 21, 2026 23:34
@rossbacher
rossbacher merged commit c6673dd into master Sep 22, 2026
1 check passed
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