[TIMOB-27906] Android: Add Kotlin based template for native modules
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-08-11T13:02:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.1.0 |
Components | Android |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Ewan Harris |
Created | 2020-05-24T12:03:02.000+0000 |
Updated | 2020-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
This proposal was rejected by the team and can be closed.
PR: https://github.com/appcelerator/titanium_mobile/pull/11800
For those following this ticket follow CLI-1391 for the Appc CLI/Studio changes that will expose the options via those products
merged to master for 9.1.0 target
*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