Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27906] Android: Add Kotlin based template for native modules

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2020-08-11T13:02:40.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.0
ComponentsAndroid
Labelsn/a
ReporterHans Knöchel
AssigneeEwan Harris
Created2020-05-24T12:03:02.000+0000
Updated2020-08-11T13:02:40.000+0000

Description

Our CLI should offer Kotlin when creating a module. Entering the following should prompt you for which code base to use "kotlin" or "java" for Android:
ti create -t module
We should add command line argument --android-code-base to allow the user choose the language without prompting. The below should create an Android Kotlin module.
ti create -t module --android-code-base kotlin
The below should create an Android Java module.
ti create -t module --android-code-base java

Comments

  1. Hans Knöchel 2020-06-01

    This proposal was rejected by the team and can be closed.
  2. Ewan Harris 2020-06-30

    PR: https://github.com/appcelerator/titanium_mobile/pull/11800
  3. Ewan Harris 2020-07-02

    For those following this ticket follow CLI-1391 for the Appc CLI/Studio changes that will expose the options via those products
  4. Christopher Williams 2020-07-14

    merged to master for 9.1.0 target
  5. Samir Mohammed 2020-08-11

    *Closing ticket*. Improvement verified in SDK version 9.1.0.v20200810120239. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11800

JSON Source