Open BILLyTheLiTTle opened 2 years ago
I am having the same issue.
Same situation here.
I have the same issue too
Has this only become an issue since updating, or did you have this problem with 10.2.1
?
This is my first attempt with ktlint. Unfortunately, I have no feedback from previous versions!
Same issue too in 10.3.0
, setting up for the first time. Tried going back to previous versions. Version10.0.0
worked for me.
Same issue for me on version 11 and it's work too on version 10.0.0
I have a sample project. The build.gradle (project) is:
The build.gradle (app) is:
I have installed the pre-commit hook successfully.
The 4 below attempts are working the same way even if use
app:ktlintCheck
.I can run the ktlintCheck from Gradle window in Android studio.
I can run the task from command line gradlew ktlintCheck
If i substitute the ktlintCheck with signingReport (or any other task from android plugin) in pre-commit script I can run it as well.
BUT, I cannot run the ktlintCheck and ktlintFormat from pre-commit script and I receive this error:
The pre-commit script is:
Am I missing something?