Android Lint published api guidelines yesterday. T...
# detekt
c
Android Lint published api guidelines yesterday. This is a great read and can inspire more changes for Detekt http://googlesamples.github.io/android-custom-lint-rules/
K 11
n
is this tool also available separately from Android Studio and/or for IntellJ IDEA? I'm coding for JVM backend and thus do not use Android Studio.
k
Detekt? Or Android lint? I use detekt on a spring boot project...and ktlint...
c
@nkiesel this is for Android projects only unfortunately
@kenkyee Android lint. I find these guidelines useful for lighting the path for detekt in the future
k
I was replying to Norbert. I use Android lint too...for Android 🙂
👍 1
n
Documentation of this lint tool says:
Android Lint is a static analysis tool (which despite the name is not limited to Android, and within Google for example is used to analyze Java and Kotlin server side code as well as Android and even desktop software like IDEs.)
Thus, should be more generic
k
🤷‍♂️I wouldn't use it on backend code...
n
Why? Looks pretty powerful
c
Android lint is not officially supported for Java/Kotlin projects. So use it at own risk and android lint upgrade may have incompatible changes without further notice
w
Is it an official guidance that Android Lint is not supported for non-Android projects? There’s even a non-deprecated Gradle plugin to run Lint in pure Kotlin projects: https://android.googlesource.com/platform/tools/base/+/refs/heads/mirror-goog-studio-mast[…]ore/src/main/java/com/android/build/gradle/LintPlugin.kt
c
w
Do you refer to the
The purpose of this is to let teams use lint on projects that are unrelated
to Android
which suggests that it’s supported only internally?
c
Yes that’s my interpretation
w
Yep, fair. Maybe something’s changed but I agree it’s not entirely clear what’s the level of support right now, I also couldn’t find anything that explicitly says it’s supported (or not supported) so 👍