Did I setup the gradle plugin correctly? #2437
ColtonIdle
started this conversation in
General
Replies: 1 comment 2 replies
-
@ColtonIdle I'm afraid that this is a known limitation of using Spotless in Android projects. However, we might be able to detect if a project is using Android and make the error message better... 🤔 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an android project with about 20 modules.
I want spotless (with ktfmt) to reformat all of my kt and kts build files.
I updated my top level build.gradle.kts to
When I run
./gradlew spotlessApply
it gives me an error of "Could not determine the dependencies of task `:spotlessApply'.If I go and update the spotless extention to
then it works.
I have this lingering feeling that I'm doing something incorrectly as the docs state that (for example)
target("**/*.kt")
is added automaticallyBeta Was this translation helpful? Give feedback.
All reactions