JakeWharton / hugo

Annotation-triggered method call logging for your debug builds.
Apache License 2.0
7.92k stars 797 forks source link

Please add Kotlin support. #144

Open wzg1015 opened 7 years ago

wzg1015 commented 7 years ago

When i use "@DebugLog" in Kotlin file(.kt), it show error : `........... p:compileDebugKotlinAfterJava Using experimental kotlin incremental compilation

e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: class retrofit2.Converter, unresolved supertypes: Object ........ ` Do you have related plan

jrcacd commented 6 years ago

When will kotlin be suported?

takahirom commented 6 years ago

Please merge this! https://github.com/JakeWharton/hugo/pull/124

chaleao commented 6 years ago

Could someone make Hugo work with Kotlin?

JakeWharton commented 6 years ago

Not until we have variant-aware transforms, no.

On Wed, Feb 21, 2018 at 3:26 PM Ruan Souza notifications@github.com wrote:

Could someone make Hugo work with Kotlin?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JakeWharton/hugo/issues/144#issuecomment-367460228, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEEeI27iolPv40RDRX55gcwHXWsyZnks5tXHv8gaJpZM4J0dsF .

Leaking commented 5 years ago

When i use "@debuglog" in Kotlin file(.kt), it show error : `........... p:compileDebugKotlinAfterJava Using experimental kotlin incremental compilation

e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: class retrofit2.Converter, unresolved supertypes: Object ........ ` Do you have related plan

You can try this plugin, it is implmented with asm and supports kotlin https://github.com/Leaking/Hunter#debug-plugin