I was asked to evaluate Kotlin as an alternative to learning Java. Running my script currently requires these two long commands:
kotlin hello.kt -include-runtime -cp xchange-core-4.2.0.jar;xchange-bitstamp-4.2.0.jar -d hello.jar
java -cp xchange-core-4.2.0.jar;xchange-bitstamp-4.2.0.jar;slf4j-api-1.7.21.jar;slf4j-simple-1.7.21.jar;rescu-1.9.0.jar;commons-io-2.5.jar;jackson-databind-2.8.4.jar;jackson-core-2.8.4.jar;jackson-annotations-2.8.0.jar;jsr311-api-1.1.1.jar;signpost-core-1.2.1.2.jar;hello.jar HelloKt
Is it possible to make Kotlin produce single file that I can put and run on remote server?