Using gradle 4.6, gradle build tools 3.2.1 and a target SDK of 28 no lint report is created, if there are no issues found. (tobiasschuerg/FittedDrawable#2)
...
:library:lint
Ran lint on variant release: 0 issues found
Ran lint on variant debug: 0 issues found
and thus, Danger fails:
BUILD SUCCESSFUL in 17s
56 actionable tasks: 2 executed, 54 up-to-date
[!] The exception involves the following plugins:
- danger-android_lint
bundler: failed to load command: danger (/usr/local/bin/danger)
Danger::DSLError:
[!] Invalid `Dangerfile` file: No such file or directory @ rb_sysopen - file:///bitrise/src/library/build/reports/lint-results.xml
# from Dangerfile:20
# -------------------------------------------
# android_lint.report_file = "file:///bitrise/src/library/build/reports/lint-results.xml"
> android_lint.lint(inline_mode: true)
# android_lint.lint
# -------------------------------------------
If issues are found, the report is generated and everything works fine.
Using gradle
4.6, gradle build tools3.2.1and a target SDK of28no lint report is created, if there are no issues found. (tobiasschuerg/FittedDrawable#2)and thus, Danger fails:
If issues are found, the report is generated and everything works fine.