Incorrect detection of unused import in Gradle Kotlin DSLs using new assignment operator #411
Closed
Description
Gradle 8.2 stabilized a new assignment operator (import org.gradle.kotlin.dsl.assign
) that allows for setting Gradle Property
values using =
(delegates to .set()
).
This was an issue for IntelliJ until recently-released 2023.2.
ktfmt erroneously identifies the import as unused and removes it, resulting in compilation errors