Created
November 15, 2016 13:04
-
-
Save sembozdemir/4b8c484763ae896d285256be5414e5b9 to your computer and use it in GitHub Desktop.
ToDoKotlin - app/build.gradle after Anko dependencies added
This file contains 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' | |
apply plugin: 'kotlin-android-extensions' | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion "25.0.0" | |
defaultConfig { | |
applicationId "com.sembozdemir.todokotlin" | |
minSdkVersion 16 | |
targetSdkVersion 25 | |
versionCode 1 | |
versionName "1.0.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']) | |
compile 'com.android.support:appcompat-v7:25.0.0' | |
compile 'com.android.support:recyclerview-v7:25.0.0' | |
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |
compile 'org.jetbrains.anko:anko-sdk15:0.9' // sdk19, sdk21, sdk23 are also available | |
compile 'org.jetbrains.anko:anko-support-v4:0.9' // In case you need support-v4 bindings | |
compile 'org.jetbrains.anko:anko-appcompat-v7:0.9' // For appcompat-v7 bindings | |
compile "org.jetbrains.anko:anko-recyclerview-v7:0.9" // For recyclerview-v7 bindings | |
} | |
repositories { | |
mavenCentral() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment