googlesamples / googlesamples/android-custom-lint-rules

ANDROID_LINT_JARS environment doesn't work

Open
#50 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1k
Forks
176
PR merge metrics
No merged PRs in 30d

Description

download the latest code, and remove `implementation project(':library')` in `app/build.gradle`; and copy `checks.jar` to /tmp

```
osboxes# export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64
osboxes# export ANDROID_LINT_JARS=/tmp/checks.jar
osboxes# ./gradlew clean :app:build

> Task :app:lintDebug

Scanning app: ...
No issues found.

> Task :app:copyDebugAndroidLintReports
Copying lint SARIF report to /home/osboxes/Documents/android-custom-lint-rules/lint-results.sarif

BUILD SUCCESSFUL in 3s
76 actionable tasks: 74 executed, 2 up-to-date
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.