Skip to content

Conversation

DSteve595
Copy link
Contributor

With this and the changes in utopia-rise/kotlin-preprocessors#4, Gradle Configuration Cache can be enabled for downstream projects, which should give a nice speed boost since the same task is run over and over again during development.

This does not yet enable the config cache in the template project. Need to bring in that kotlin-preprocessors change first.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the generateGdIgnoreFilesTask to be compatible with Gradle Configuration Cache by moving project and build directory access to configuration-time providers instead of execution-time access.

  • Replaces execution-time project property access with configuration-time providers
  • Moves plugin existence check from doFirst to onlyIf condition
  • Uses Gradle's layout providers for directory access instead of direct property access

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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