You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a similar problem in a multi module project. Basically in the non-android modules we are unable to run our custom lints. @tnorbye there a way to fix it?
When I tried moving the Test.kt file from the :app module to the :library module, lint stopped reporting the expected warning.
Steps to reproduce:
git clone https://github.com/googlesamples/android-custom-lint-rules.git
cd android-custom-lint-rules
mkdir -p library/src/main/java/com/example/lint/library
mv app/src/main/java/com/android/example/Test.kt library/src/main/java/com/example/lint/library
sed -i '' 's/com.android.example/com.example.lint.library/' library/src/main/java/com/example/lint/library/Test.kt
./gradlew :library:lint
./gradlew lint
This may be related to Custom lint checks stopped running for multi-module Android project after upgrading to Android Gradle Plugin 4.2.2
The text was updated successfully, but these errors were encountered: