Skip to content

Comments

Allow modules and libs as vararg and support DelegatingProjectDependency#53

Merged
rubensousa merged 4 commits intorubensousa:mainfrom
DatL4g:main
Feb 19, 2026
Merged

Allow modules and libs as vararg and support DelegatingProjectDependency#53
rubensousa merged 4 commits intorubensousa:mainfrom
DatL4g:main

Conversation

@DatL4g
Copy link
Contributor

@DatL4g DatL4g commented Feb 19, 2026

Removes the allowModules and allowLibs methods.
Makes allow compatible with a vararg instead.

Added support for passing modules as DelegatingProjectDependency so it can be used like this:

allow(":moduleA", ":moduleB")

// or the typed (delegated) variant
allow(projects.moduleA, projects.moduleB)

@DatL4g DatL4g requested a review from rubensousa as a code owner February 19, 2026 21:20
@rubensousa
Copy link
Owner

Thanks for the PR! Would you mind including an example in the sample project for the new APIs? Thanks!

@rubensousa
Copy link
Owner

Approved, this will be shipped in the next release. If I have time, I'll include #52 as well

@rubensousa rubensousa merged commit 254e4c0 into rubensousa:main Feb 19, 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