KT-57598 Run Kapt with K1 even when the compiler is run with K2

This commit is contained in:
Pavel Mikhailovskii
2023-04-20 09:30:38 +00:00
committed by Space Team
parent cb4c41a5ca
commit 58143a2006
8 changed files with 224 additions and 1 deletions
@@ -0,0 +1,19 @@
package test
import apt.Anno
import generated.Test as TestGenerated
@Anno
class Test {
@field:Anno
val property: String = ""
@Anno
fun function() {
}
}
fun main() {
println("Generated class: " + TestGenerated::class.java.name)
}