-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Gradle build error #1
Comments
Hi @JuNijland I just tried building sample project using gradle 2.12 (I don't see 2.1.2 at https://gradle.org/gradle-download/) and ktlint 0.1.0 (running java 1.8.77 on on Arch Linux) using the following build.gradle
Works fine. Can you share you build configuration or something that could demonstrate the issue? Thank you. |
Hi,
|
I just tried updating to kotlin version 1.0.3 which seemed to fix the problem. |
Thanks @JuNijland. readme.md updated. Now it should work regardless of Kotlin compiler version. |
Yes verified. Thanks! |
I followed all the steps for integrating ktlint into gradle
When adding the ktlint dependency to gradle, the following error occurs when building:
Using gradle 2.1.2 and ktlint 0.1.0
The commands
gradle ktlint
andgradle ktlintFormat
do work from the command line, only building fails.The text was updated successfully, but these errors were encountered: