https://kotlinlang.org logo
#kapt
Title
a

andreasbackx

01/13/2017, 8:26 PM
Is there a way to make kapt show you what line is causing a problem? Kapt is processing annotations and throws an error without telling me what file or line, it'll just spit out the error (in this case
[ERROR] [system.err] error: @JsonField annotation can only be used on private fields if both getter and setter are present.
) and say it's the first line of the first Kotlin file it can find (that doesn't even contain annotations). Asking for a stacktrace, info or debug doesn't add any more useful information.