Skip to content

Instantly share code, notes, and snippets.

@travisdachi
Created August 4, 2016 20:24
Show Gist options
  • Save travisdachi/526a68be397032d8996548674e0c7643 to your computer and use it in GitHub Desktop.
Save travisdachi/526a68be397032d8996548674e0c7643 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.travispea.kotlinforandroid101"
minSdkVersion 15
targetSdkVersion 24
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:24.1.1'
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