CoraLibre / CoraLibre-android-sdk

CoraLibre-android-sdk fork of prestandard DP-3T to make compatible with the Google/Apple protocol
Mozilla Public License 2.0
127 stars 7 forks source link

Enable Kotlin support #18

Closed BjoernPetersen closed 4 years ago

BjoernPetersen commented 4 years ago

Kotlin is the first choice for new Android projects and offers quite a few quality-of-life improvements. I think we should transition the project to Kotlin to make it more attractive to new developers.

If others agree with me on this, I'd be glad to update the Gradle config myself.

Pros

Cons

theScrabi commented 4 years ago

I'd like to switch to kotlin, but I think we should do this later in a re factoring round. Rather than doing it now while trying to get basic functionality working. What do you think?

BjoernPetersen commented 4 years ago

Originally I thought it would be a good idea to gradually switch to Kotlin, i.e. write new files in Kotlin and convert only the existing files you're working on. Now I doubt that would be a good idea because mixing Kotlin conversion and work on features would make for some horrible diffs.

So let's go with your plan and do a big refactoring later. 👍