Kotlin-dsl-samples: Static accessors are missing from the classpath given to IntelliJ IDEA for `buildSrc/build.gradle.kts`

Created on 21 Dec 2017  路  5Comments  路  Source: gradle/kotlin-dsl-samples

screen shot 2017-12-21 at 18 06 39

bug kotlin-dsl-runtime content-assist ease-of-use

All 5 comments

Oh, I'm glad you're seeing this too. I was seeing this ~ a month ago but didn't open a bug. Sorry about that.
Thought it was just weirdness in IntelliJ and I didn't want to fight with it.

Any thoughts on the root cause?

Hey, @JLLeitschuh. I think buildSrc/build.gradle.kts is being handled as a "script plugin" instead of a project script because the code is only looking for project scripts in project.allprojects, it needs to explicitly take buildSrc into account.

This only happens when there's no buildSrc/settings.gradle[.kts]

Was this resolved by Jetbrains?

Sorry I thought the issue/pr association events coming from ZenHub were visible.
It was fixed in #715

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mkobit picture mkobit  路  3Comments

deeprim picture deeprim  路  4Comments

cbeams picture cbeams  路  3Comments

eskatos picture eskatos  路  3Comments

AlexCzar picture AlexCzar  路  3Comments