Skip to content

Instantly share code, notes, and snippets.

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.

@bgorkowy
bgorkowy / multi-flavour-lib-module-howto.gradle
Created July 29, 2015 12:06
multi-flavour gradle library module
// Main app module
compile project(path: ':library', configuration: 'flavour1Release')
// 'library' module
android {
compileSdkVersion 22
buildToolsVersion "23.0.0 rc3"
defaultPublishConfig "flavour1Release"
publishNonDefault true