Last active
February 1, 2016 21:49
-
-
Save msenol86/827aed4fc1f845145b72 to your computer and use it in GitHub Desktop.
My Kotlin Android Gradle File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.2" | |
defaultConfig { | |
applicationId "com.bilgisocial.mykotlinapplication" | |
minSdkVersion 19 | |
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.1.1' | |
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |
} | |
buildscript { | |
ext.kotlin_version = '1.0.0-beta-4589' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" | |
} | |
} | |
repositories { | |
mavenCentral() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment