-
Notifications
You must be signed in to change notification settings - Fork 466
spotlessCheck not run as part of a gradle build #1164
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
Comments
I think the chain is The Are you sure that your project has a |
yea build and check are both still there (via running |
Based on https://github.com/cashapp/sqldelight/blob/master/build.gradle, I suspect that your root project actually does not have a But this feels like Spotless should just always apply You can fix this by applying |
I'm working on an Android project that still uses the So the only thing I'd encourage is to add some instructions to the release notes on how to adapt any existing, custom It's probably just a matter of changing any such tasks to something like: tasks.named<Delete>("clean") {
. . .
} ...as opposed to We're using the Gradle Kotlin DSL in our project, so I'd need to dive into our VCS history or crack open an old version of Android Studio to remind myself what the Groovy syntax is. (Having said all this, it's worth noting that we don't use Spotless... yet? 😁) |
👍 sounds good, thanks. I'll apply base for now and remove it in a future spotless release |
Base is now applied eagerly starting with |
confirmed fixed, thanks 👍 |
Nice. I think this was my fault for originally bringing it up with the spotless team, but it led me to file a bug with the Android team, and they removed it from their template. https://issuetracker.google.com/issues/186924459 All's well that ends well. Thanks spotless team! |
The
spotlessCheck
task is no longer run as part of abuild
execution. Confirmed by running./gradlew build --dry-run
. ThespotlessCheck
task still exists and can be run manually.The text was updated successfully, but these errors were encountered: