Hi everyone , i'm making a compiler plugin so i go...
# compiler
a
Hi everyone , i'm making a compiler plugin so i got 3 module : the gradle plugin module , the kotlin compiler module and a runtime module that hold my annotation , so i want the module to be used only in android applications so to do so the runtime module must be only accessed from android modules how can i achieve that . after inspecting the android extensions plugins i've noticed that they hide the runtime module inside the 'kotlin-android' plugin is there a way to do so ?
r
You can add any runtime dependencies automatically injecting them into the user project with the Gradle plugin. Before injecting you'd check if that is an Android module and noop if not
👍 1
a
thanks man , can you provide some guides ?