I have a Kotlin multiplatform module.
How can I apply Android Lint custom
lintChecks
to the multiplatform code? It seems it doesn't work when put into the "top-level" dependencies.
p
p-schneider
12/07/2023, 1:24 PM
Multiple gradle modules like in the usual Multiplatform App Setup (shared+androidApp) or just one gradle module?
p-schneider
12/07/2023, 1:35 PM
I see you wrote
linkChecks
instead of
lintChecks
- just a typo or the source of your problem?
AFAIK those android lint checks are not menat to be used in normal code.
For normal kotlin code ktlint would normally be used.
j
Jan Skrasek
12/07/2023, 2:13 PM
sorry, just typo.
👍 1
p
p-schneider
12/07/2023, 2:15 PM
I haven't used custom android lint rules in kotlin mutliplaform yet, so I don't think I can help here.
At first I thought you're talking about custom ktlint rules, which I have used before in KMP.