Skip to content

Instantly share code, notes, and snippets.

@develodroid
Created July 25, 2016 11:19
Show Gist options
  • Save develodroid/5d18c2e17c22c16cc3519af9ea80d3d0 to your computer and use it in GitHub Desktop.
Save develodroid/5d18c2e17c22c16cc3519af9ea80d3d0 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.develodroid.kotlinsample"
minSdkVersion 21
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
repositories {
mavenCentral()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment