Join Slack
Powered by
is there a way to enforce ktlint checks in gradle ...
# getting-started
m
Marko Kunic
11/11/2021, 9:51 AM
is there a way to enforce ktlint checks in gradle build? eg. I run build or tests, and it fails because style isn't correct
e
ephemient
11/11/2021, 9:53 AM
Copy code
tasks.check { dependsOn("lintKotlin") }
or whatever the tasks you want to tie together are called
m
Marko Kunic
11/11/2021, 9:56 AM
amazing, can't believe its impossible to find this on google 😅
Marko Kunic
11/11/2021, 9:56 AM
thank you!
4
Views
Open in Slack
Previous
Next