Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin support #15

Closed
AleksanderMielczarek opened this issue Oct 5, 2017 · 4 comments · Fixed by permissions-dispatcher/PermissionsDispatcher#458
Closed

Kotlin support #15

AleksanderMielczarek opened this issue Oct 5, 2017 · 4 comments · Fixed by permissions-dispatcher/PermissionsDispatcher#458

Comments

@AleksanderMielczarek
Copy link
Collaborator

Plugin needs to support Kotlin:

  • rewrite plugin in Kotlin
  • detect Kotlin or Java and generate appropriate code

@hotchemi did I miss something?

@hotchemi
Copy link
Member

hotchemi commented Oct 5, 2017

rewrite plugin in Kotlin

Kool!

detect Kotlin or Java and generate appropriate code

Not sure it's possible but I think that's right 😄

Thx~!

@AleksanderMielczarek
Copy link
Collaborator Author

Not sure it's possible

Is this line responsible for that?

if (kotlinMetadata != null) {
    processKotlin(it, rpe, requestCodeProvider)
} else {
    processJava(it, rpe, requestCodeProvider)
}

@hotchemi
Copy link
Member

hotchemi commented Oct 5, 2017

Ah yes! but I'm not sure we can use the same logic in the lib 😺

@mortenholmgaard
Copy link

mortenholmgaard commented Apr 6, 2018

Any news on when it will be possible to use Kotlin with it?

@AleksanderMielczarek @hotchemi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants