-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when running Lint task #3
Comments
Thanks for the report and digging into it. I'll take a look. |
I think I've addressed the issue. Please give release Please note that Now task kotlinLint(type: LintTask, group: 'verification') {
...
source tree
report = file('build/lint-report.txt')
ignoreFailures true
} Note that |
Yes, that works. Thanks! |
Add this into build.gradle. It will solve your plugin scope problem |
I've tried to use the plugin in our Android project. We usually extract common scripts in separate files and there the plugin is crashing
The main build script looks something like this
The apply from is the problem. If I copy the following script inside of the file, then the task is successful.
That's the complete
kotlin-lint.gradle
fileThe text was updated successfully, but these errors were encountered: