android lint is android specific, the uast can't be used outside the ide (as far as my last info is via some talk of a jetbrains guy), however some time in the future there will be an official supported kotlin compiler api where detekt can get all resolved AST for all files and run its check on.
This should be the prefered way.
There were a post about compiler plugin yesterday on reddit -> https://www.reddit.com/r/Kotlin/comments/axotzd/kotlin_1321_compiler_plugin_example/
3flex's work seems promising too.