12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion getProject().compileSdkVersion
- buildToolsVersion getProject().buildToolsVersion
- defaultConfig {
- applicationId "com.ted.weather"
- minSdkVersion getProject().minSdkVersion
- targetSdkVersion getProject().targetSdkVersion
- versionCode getProject().versionCode
- versionName getProject().versionName
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile "com.google.code.gson:gson:2.8.1"
- compile getProject().appcompatV7
- compile getProject().constraintLayout
- compile getProject().design
- compile getProject().recycleView
- testCompile 'junit:junit:4.12'
- compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- compile "org.jetbrains.anko:anko-commons:$anko_version"
- compile "org.jetbrains.anko:anko-sqlite:$anko_version"
- compile "org.jetbrains.anko:anko-coroutines:$anko_version"
- compile "com.squareup.picasso:picasso:2.5.2"
- }
- kotlin {
- experimental {
- coroutines 'enable'
- }
- }
- repositories {
- mavenCentral()
- }
|