-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Permissions-Lint] Migrate gradle file to Kotlin DSL #1631
Conversation
* not currently support dependencies, so instead we need to bundle any dependencies with the | ||
* lint jar manually. (b/182319899) | ||
*/ | ||
val bundleInside: Configuration = configurations.create("bundleInside") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to rename this for the dependency function to work
// The stdlib is already bundled with lint, so no need to include it manually | ||
// in the lint.jar if any dependencies here depend on it | ||
.filter { !it.name.contains("kotlin-stdlib") } | ||
.map { file -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I this this should do the same as the collect function did in groovy here 🤔
This comment was marked as outdated.
This comment was marked as outdated.
6a4550d
to
7b061de
Compare
7b061de
to
5670636
Compare
Rebased this with main now, sorry for not attending this PR, but now that Manuel is leaving google (https://twitter.com/manuelvicnt/status/1706651911569420512?t=pkAyynIoguUSvnmjkPlgNg&s=19) is it possible that someone else might give this a review? :) |
Following up #1578 and relating to #1579
Migrating the
:permissions-lint
module to Kotlin DSL.I have split up the PR into two commits. The first one prepares the file to be migrated by using steps described in these docs. The second one is where I actually convert the file to .kts file and updates the rest of the file to be compatible with Kotlin DSL.