Kotlin

From APIDesign

Jump to: navigation, search

Kotlin is the Java 2.0 people were always asking for. However it comes with own glitches:

Try to debug annotation processors in Gradle (which is the default build tool for Android) and Kapt isn't easy. One has to:

./gradlew --no-daemon clean build -Dkotlin.daemon.jvm.options="-Xdebug,-Xrunjdwp:transport=dt_socket\,address=5006\,server=n\,suspend=n"

I wish it was as easy as debugging the Maven in NetBeans as explained in Use the Debugger. Stupid article! Here is the page that helped, at the end.

Forget Kotlin, use (modern) Java!

Personal tools
buy