Kapt: Allow to ignore specific methods/fields from being put into kapt stubs
Classes can't be ignored yet as it requires to ignore also all type usages which is a non-trivial operation.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import kotlinx.kapt.*
|
||||
|
||||
class Test {
|
||||
@KaptIgnored
|
||||
fun ignoredFun() {}
|
||||
|
||||
@KaptIgnored @get:KaptIgnored
|
||||
val ignoredProperty: String = ""
|
||||
|
||||
fun nonIgnoredFun() {}
|
||||
|
||||
val nonIgnoredProperty: String = ""
|
||||
}
|
||||
Reference in New Issue
Block a user