Skip to content

F-090: project-global dependency validation exclusions#203

Merged
stepango merged 1 commit into
v2from
forma/F-090-validation-exclusions
Jul 22, 2026
Merged

F-090: project-global dependency validation exclusions#203
stepango merged 1 commit into
v2from
forma/F-090-validation-exclusions

Conversation

@stepango

Copy link
Copy Markdown
Collaborator

Summary

Implements F-090 / GH #97: allow-list forked-in monorepo modules (ExoPlayer-class) so they skip project-dependency suffix validation without weakening the default matrix or adding per-call-site escape hatches.

Changes

  • dependencyValidationExclusions: Set<String> = emptySet() on root androidProjectConfiguration / AndroidProjectSettings
  • Exact match on Gradle project path and/or name
  • applyDependencies skips validator.validate only for excluded dependency projects; still adds the edge
  • Self-type DSL validation unchanged; default empty = strict matrix unchanged
  • Unit tests: :config matcher/store + :deps apply-gate
  • Docs: DEPENDENCY-MATRIX.md, PROJECT-CONFIGURATION.md, GETTING-STARTED, README; sample commented example

Verify (host)

source scripts/env-mac.sh
cd plugins && ./gradlew :core:test :validation:test :deps:test :config:test build
cd ../application && ./gradlew help assembleDebug

Both BUILD SUCCESSFUL.

Ticket

  • F-090 → done
  • Next: F-091

Closes #97

Allow forked-in third-party modules (ExoPlayer-class) to skip project-dep
suffix validation via a single root androidProjectConfiguration allow-list.
Default empty keeps the matrix strict; self-type validation unchanged.
@stepango
stepango merged commit cb65049 into v2 Jul 22, 2026
8 checks passed
@stepango
stepango deleted the forma/F-090-validation-exclusions branch July 22, 2026 11:21
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.

1 participant