dropbox / dropbox/dependency-guard

Task Input Params, Leverage `project.layout`

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
493
Forks
19
PR merge metrics
No merged PRs in 30d

Description

A few values are derived from `project.layout` and used as inputs to our tasks. @ZacSweers called out that it is possible to pass the entire `project.layout` value as it is config cache safe.

Example: https://github.com/dropbox/dependency-guard/blob/189182a7fa586f28d652dd3dc2dd17f67ada8403/dependency-guard/src/main/kotlin/com/dropbox/gradle/plugins/dependencyguard/internal/utils/OutputFileUtils.kt#L13

Other usages: https://github.com/dropbox/dependency-guard/search?q=project.layout

It was also suggested that we could avoid passing `project.path` and leveraging that property from the `project.layout` variable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.