Tools Kotlin IDE, Setup, REPL

By pjain      Published Dec. 15, 2019, 7:07 a.m. in blog Programming   

Android Studio

IntelliJ Plugins, Git Integ

Automatically Building Pull Requests from GitHub with TeamCity – Hadi Hariri Getting Started with Kara – Hadi Hariri Multi-platform Projects with Kotlin – Hadi Hariri

Advanced Kotlin Setup - command line,

Setup on Sublime-text

Hello World, Cmd Line

* fun main(args: Array) { println("Hello, World!") }

# To complile hello world .. 
$ kotlinc HelloWorld.kt -include-runtime -d HelloWorld.jar
$ java -jar HelloWorld.jar

Kotlin REPL QUIK kotlinc-jvm

  • Get jodatime and unzip it giving path $ wget https://github.com/JodaOrg/joda-time/releases/download/v2.9.4/joda-time-2.9.4-dist.tar.gz $ tar xvf joda-time-2.9.4-dist.tar.gz

    $ kotlinc-jvm -cp joda-time-2.9.4/joda-time-2.9.4.jar

    import org.joda.time.DateTime DateTime.now()


0 comments

There are no comments yet

Add new comment

Similar posts

SOA Api Metadata

Serverless Computing

Android Layouts Design 101

Drawing, Canvas in Kotlin