-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in gradle/6.23.0. Unable to configre ktlint #1911
Comments
Fixing this in #1912. |
See also gradle-nexus/publish-plugin#286, same issue. |
ktfmt is affected by the same issue, adding this here in case someone searches for that instead:
|
Same issue with |
Fixed in |
I was able to update to v6.23.2 now and that fixed the issue, thanks ❤️ |
I am having the same issue with 6.25.0
|
I noted this in 6.23.0 changelog. |
Oh shoot I missed this, sorry |
summary of problem
Having the simple block below highlights
ktlint()
. Hovering on it shows the message "Type BaseKotlinExtension.KtlintConfig! is inaccessible in this context due to: public open inner class KtlintConfig defined in com.diffplug.gradle.spotless.BaseKotlinExtension". But spotless works fine. Now if i try to access any method of ktlint config like below red squiggly line appers below that method and hovering over them shows the message "Cannot access 'BaseKotlinExtension': it is package-private in 'com.diffplug.gradle.spotless'"Gradle or Maven version
Gradle 8.4
spotless version
gradle/6.23.0
operating system and version
Windows 11
copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
See above
copy-paste the full content of any console errors emitted by
gradlew spotless[Apply/Check] --stacktrace
If you're just submitting a feature request or question, no need for the above.
The text was updated successfully, but these errors were encountered: