<@U0QBCLV62> Starting to notice a weird trend: In ...
# gradle
j
@bamboo Starting to notice a weird trend: In
build.gradle.kts
files being viewed in intellij: In plugins that use nested inner classes/inerfaces, intellij doesn't seem to be able to find the symbols. I have the following code:
Copy code
spotless {
    java {
        eclipse() // Having a problem here
    }
}

/**
 * Retrieves or configures the [spotless][com.diffplug.gradle.spotless.SpotlessExtension] project extension.
 */
fun Project.`spotless`(configure: com.diffplug.gradle.spotless.SpotlessExtension.() -> Unit = {}) =
    extensions.getByName<com.diffplug.gradle.spotless.SpotlessExtension>("spotless").apply { configure() }
Intellij can't resolve the return value of this method: https://github.com/diffplug/spotless/blob/master/plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JavaExtension.java#L106-L108