Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25896] Android: Add Kotlin language support for modules

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2020-01-29T16:27:58.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.0
ComponentsAndroid
Labelsandroid, build, kotlin, modules
ReporterHans Knöchel
AssigneeYordan Banev
Created2018-03-22T21:53:01.000+0000
Updated2020-01-29T16:27:58.000+0000

Description

*Summary:* Titanium currently cannot build modules containing *.kt kotlin language files. We would like to add support for this language in the future. *Note:* This can easily be implemented once Titanium supports building with gradle. https://developer.android.com/kotlin/add-kotlin

Attachments

FileDateSize
ti.kotlin.zip2020-01-22T01:30:33.000+000012605

Comments

  1. Joshua Quick 2018-03-27

    We may want to do this after adding "gradle" build support for module development. There is a "kotlin-android" gradle plugin used to build kotlin source code as shown here... https://kotlinlang.org/docs/reference/using-gradle.html
  2. Yordan Banev 2020-01-15

    PR: https://github.com/appcelerator/titanium_mobile/pull/11434
  3. Joshua Quick 2020-01-22

    The attached [^ti.kotlin.zip] is a module containing both Kotlin and Java8 code. The module and proxy is coded in Kotlin and the Kotlin code calls into Java8 code.
  4. Satyam Sekhri 2020-01-22

    FR Passed. Waiting for Jenkins.
  5. Christopher Williams 2020-01-23

    merged to master for 9.0.0
  6. Sohail Saddique 2020-01-29

    Following the test case in the PR, I am able to verify that it passes successfully on build 9.0.0.v20200128095338. Ticket closed.

JSON Source