-
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
Deprecated api used in gradle plugin #1773
Comments
We noted it at #1618 (comment). |
@c0nstexpr looks like you are using Gradle 8.2.1, which version of Spotless are you using? @Goooler it seems to me like after we merged #1618, warnings like this shouldn't happen because it would take the other branch. Is there any chance Gradle is parsing the class files to look for API even if it isn't called? |
I use the latest version Spotless. And I added |
I don't see any warning related to Spotless after enabling Can you share your build scan? |
build scan means this one? |
Yeah, but seems no |
yes, I notice that. But I try again gradle sync, it just happened
BUILD SUCCESSFUL in 37s |
They are the warning sources:
|
For anyone else who was slow like me, the stacktraces are coming from the IntelliJ sync plugin, not Spotless. Looks like we did cause this warning in the past, @Goooler fixed it, and it is still fixed. I'm happy for the discussion to continue, but I'm going to close the issue for now because I think we got to the bottom of it. Thanks for sharing the info @c0nstexpr, and thanks for fixing it and tracking this one down too @Goooler. |
related code
spotless/plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JvmLang.java
Line 44 in 8b1713d
log output
The text was updated successfully, but these errors were encountered: