Skip to content

Conversation

@joshfriend
Copy link
Collaborator

No description provided.

@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from e9e91d5 to 2272cdf Compare February 4, 2026 19:56
@joshfriend joshfriend changed the title Allow configuring maven local directory via gradle.properties Add end-to-end functional tests Feb 4, 2026
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from d470678 to 671e038 Compare February 6, 2026 16:28
@github-actions github-actions bot removed the cli label Feb 6, 2026
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch 2 times, most recently from 050611c to d643d3f Compare February 9, 2026 23:37
@github-actions github-actions bot added the cli label Feb 9, 2026
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch 2 times, most recently from bd42efa to 26cf32d Compare February 9, 2026 23:42
@joshfriend joshfriend changed the base branch from main to fix/maven-local-directory-tooling-model February 9, 2026 23:43
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch 2 times, most recently from 520f268 to 64643e7 Compare February 10, 2026 00:01
Base automatically changed from fix/maven-local-directory-tooling-model to main February 10, 2026 00:04
…rides

ProjectAccessorDelegate now unwraps leaf ProjectDependency results so DSLs like SQLDelight and DAGP receive the real Gradle object instead of our CharSequence wrapper. Intermediate accessors stay wrapped so chained access can still fall back to artifact notation for excluded projects.

Removed the unused alwaysKeepProjects plumbing from the delegate and override plugin since the settings plugin already guarantees always-keep projects are included. Also adds alwaysKeepProjects property to ArtifactSwapBomService and improves BomLoader error message accuracy.
Adds a comprehensive functional test suite using the autonomousapps testkit covering module selection, local change detection, missing artifact fallback, always-keep behavior, SQLDelight project accessor compatibility, DAGP exclude compatibility, and full end-to-end CLI workflows.

Test infrastructure includes ArtifactSwapTestProject for creating multi-module test projects with git repos and local maven publishing, CliRunner for in-process picocli invocation, and isolated temp directories for test maven repositories. Also adds functionalTest to the CI check workflow.
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from 64643e7 to 268cf67 Compare February 10, 2026 00:40
@joshfriend joshfriend marked this pull request as ready for review February 10, 2026 00:42
Copy link
Collaborator

@wclausen-square wclausen-square left a comment

Choose a reason for hiding this comment

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

nice to see these, i think they'll be valuable tests. some minor nits, but overall lgtm 🚢

@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from 1099700 to 150959a Compare February 10, 2026 22:05
@joshfriend joshfriend enabled auto-merge (squash) February 11, 2026 01:26
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from bff0ba1 to 58de094 Compare February 11, 2026 01:28
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from 58de094 to de9cd6e Compare February 11, 2026 02:04
@joshfriend joshfriend force-pushed the sqldelight-project-dependency-fixes branch from de9cd6e to 4c2906d Compare February 11, 2026 14:48
@joshfriend joshfriend merged commit aede063 into main Feb 11, 2026
4 checks passed
@joshfriend joshfriend deleted the sqldelight-project-dependency-fixes branch February 11, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants