the setup is only ``` apply plugin: 'org.jetbrains...
# kapt
j
the setup is only
Copy code
apply plugin: 'org.jetbrains.kotlin.jvm'

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
  compile deps.kotlin.stdLibJre8

  // Expose the embedded annotations for use in the code.
  compileOnly 'com.google.auto.service:auto-service:1.0-rc3'
  // Allow the processor to run over Kotlin sources.
  kapt 'com.google.auto.service:auto-service:1.0-rc3'
}
with a single kotlin file
Copy code
@AutoService(Processor::class)
class MyProcessor : AbstractProcessor() {
  override fun process(annotations: Set<TypeElement>, roundEnv: RoundEnvironment) = TODO()
}