installKotlinterPrePushHook not working using 2.4.0
See original GitHub issue➜ escape_pod git:(update_ktlint) ./gradlew installKotlinterPrePushHook
FAILURE: Build failed with an exception.
* What went wrong:
Task 'installKotlinterPrePushHook' not found in root project 'escape_pod'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
Let me know if you need more information
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Gradle problem :Could not resolve all files for configuration ...
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files ...
Read more >Build failed on Apple M1 with JDK8-arm64 [174695268]
If the mentioned workarounds are not working, I recommend using this workaround instead, adding it to the root build.gradle. This will force using...
Read more >Gradle 6.7 Release Notes
This release comes with usability and performance improvements for the configuration cache. Early adopters of configuration cache can use the command line ...
Read more >Using kapt | Kotlin
If you run into any problems with caching for annotation processors, disable caching for them: # specify annotation processors' full names ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yep, i can see it now
Actually, I have a thought: is
apply plugin: "org.jmailen.kotlinter"
andapply plugin: 'kotlin'
present for the root project as well? That would cause the hook task to be missing. Quite understandable since the root project probably doesn’t have kotlin source code, although it would be harmless to include it.