Foso / MpApt

(Deprecated) :wrench: Kotlin Native/JS/JVM Annotation Processor library for Kotlin compiler plugins
Apache License 2.0
236 stars 12 forks source link

I will the change the checking for supported target platforms #3

Closed Foso closed 5 years ago

Foso commented 5 years ago

I will add a function to the Abstractprocessor where you get the active target platform and can return true if you want to enable the processor or false if you don't. The default is every target will be enabled

fun isTargetPlatformSupported(platform: TargetPlatform) : Boolean