ev-map/EVMap

Migrate to kts build script

Closed this issue · 4 comments

From gradle 4.0, it's possible to using to Kotlin DSL for gradle scripts. Using this language is better because Android Studio doesn't support syntax highlighting for Groovy. And using this language improve build performance.

More information here https://developer.android.com/build/migrate-to-kotlin-dsl#:~:text=Starting%20with%20Android%20Studio%20Giraffe%2C%20new%20projects%20use%20the%20Kotlin,completion%2C%20and%20navigation%20to%20declarations.
https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html

I can help for migration :)
I have already doing migration for Exodus app

Hi, thanks for the suggestion. I don't have a strong preference between Groovy and Kotlin for the Gradle scripts at the moment. Is Kotlin actually faster though? This seems to show quite the opposite...

orubel commented

I think they have already accepted AND acknowledged that it... although saying 'might be slower' is fudging it; it DEFINITELY will be slower. :)
android

Implemented with #298, with only negligible effect on build times. Thanks @Jean-BaptisteC!

Implemented with #298, with only negligible effect on build times.

Yeah, non-abi would not be effected from what I am seeing.