Hey everyone, did anyone succeed in setting up a custom lint check that also runs on the KMP module? Including the regular
lintChecks project(':module-name')
in my Android module seems to work, but it doesn’t analyse the KMP module. Adding the same line to the KMP build.gradle file doesn’t seem to work either (it compiles, but the checks don’t get executed)
timkranen
04/17/2024, 9:27 AM
Somehow this just doesn’t seem to work, the KMP module is the only module that doesn’t recognize the custom lint check..
d
Devanshu Pathsariya
04/18/2024, 4:55 AM
This may only only reconginze the android source set and analyze that. you can use other linter like detekt , ktlint etc.