Open gosp opened 3 years ago
download the latest code, and remove implementation project(':library') in app/build.gradle; and copy checks.jar to /tmp
implementation project(':library')
app/build.gradle
checks.jar
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
It works after I downgrade gradlePluginVersion from 7.0.0-alpha10 to 4.2.1; lintVersion from 30.0.0-alpha10 to 27.2.1
gradlePluginVersion
7.0.0-alpha10
4.2.1
lintVersion
30.0.0-alpha10
27.2.1
This should be fixed in AGP 7.0.0-beta05
download the latest code, and remove
implementation project(':library')
inapp/build.gradle
; and copychecks.jar
to /tmp