https://kotlinlang.org logo
#scripting
Title
# scripting
m

Mohammed Akram Hussain

10/10/2023, 6:03 PM
We are planning to use Kotlin as a scripting language to deploy our Android & iOS apps...is it the right time to use though it's experimental? or we should wait for it be in beta at least and then migrate?
e

ephemient

10/10/2023, 6:11 PM
scripting is JVM-only so that's not going to work out very well for you
you might consider https://github.com/cashapp/zipline as an alternative
m

Mohammed Akram Hussain

10/10/2023, 6:22 PM
I'm not sure how this can help publishing to appstores?
We want an alternative to ruby, ideally kotlin
e

ephemient

10/10/2023, 6:48 PM
oh, you don't mean deploying to the clients?
in that case, I think there's not much to be gained by trying to replace Fastlane, but if you want to try it out, go ahead
Kotlin scripting is used by Gradle, IJ scratch files, notebooks, etc… so I don't expect it to go away, but as it is marked experimental so you will need to work to keep up with changes across releases
m

mbonnin

10/10/2023, 7:15 PM
I contributed this some time ago, it's far from fastlane in terms of features but it's 100% kotlin
Overall for scripting in CI, during dev, Kotlin scripting is great. I don't expect any breaking change and it comes pre-installed in GitHub actions so it's pretty easy to use
👍 2
m

Mohammed Akram Hussain

10/10/2023, 7:21 PM
@mbonnin This is awesome! Is it for Android only?
m

mbonnin

10/10/2023, 7:46 PM
Yes, mostly. Some parts are agnostic but it's really android centric
🙌 1
2 Views