cortinico / ktfmt-gradle

A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse ๐Ÿงน๐Ÿ˜
MIT License
149 stars 20 forks source link

#292 ktfmt does not use custom source directories #327

Closed simonhauck closed 1 month ago

simonhauck commented 1 month ago

๐Ÿš€ Description

Use provider to lazily evaluate the sourceSets.

See issue: https://github.com/cortinico/ktfmt-gradle/issues/292

๐Ÿ“„ Motivation and Context

https://github.com/cortinico/ktfmt-gradle/issues/292

๐Ÿงช How Has This Been Tested?

A new integration test was added. Initially the test failed and is now green.

๐Ÿ“ฆ Types of changes

โœ… Checklist