apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 25 buildToolsVersion "25.0.3" defaultConfig { applicationId "org.ntlab.tag" minSdkVersion 21 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } packagingOptions { exclude 'META-INF/rxjava.properties' exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE.md' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' exclude 'META-INF/dependencies.txt' exclude 'META-INF/LGPL2.1' exclude 'META-INF/ASL2.0' } dataBinding { enabled = true } } kapt { generateStubs = true } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" implementation 'com.android.support:appcompat-v7:25.4.0' testImplementation 'junit:junit:4.12' // google map implementation 'com.google.android.gms:play-services-maps:9.8.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' // Android Desigh compile 'com.android.support:design:25.4.0' // Card View // CardView compile "com.android.support:cardview-v7:25.4.0" // Android BootStrap compile 'com.beardedhen:androidbootstrap:2.3.1' // OkHttp compile 'com.squareup.okhttp3:okhttp:3.7.0' // rxJava, rxAndroid compile 'io.reactivex.rxjava2:rxjava:2.0.0-RC3' compile 'io.reactivex.rxjava2:rxandroid:2.0.0-RC1' // retrofit2 compile 'com.squareup.retrofit2:converter-gson:2.1.0' compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' compile 'com.squareup.retrofit2:retrofit:2.1.0' // chuck compile 'com.readystatesoftware.chuck:library:1.0.4' // Kotlin DataBinding kapt 'com.android.databinding:compiler:2.5.0-alpha-preview-02' // StyleableToast compile 'com.muddzdev:styleabletoast:1.0.9' implementation 'com.android.support:support-v4:25.4.0' }