apply plugin: 'kotlin-kapt' apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' def room = "2.1.0" android { compileSdkVersion 28 buildToolsVersion = '28.0.3' defaultConfig { applicationId "shishkin.sl.kotlin" minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility = 1.8 targetCompatibility = 1.8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.ext:junit:1.1.1' implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.core:core-ktx:1.1.0' implementation "com.google.android.material:material:1.0.0" // БД ROOM implementation "androidx.room:room-runtime:2.2.0" implementation "androidx.room:room-ktx:2.2.0" annotationProcessor "androidx.room:room-compiler:2.2.0" kapt "androidx.room:room-compiler:2.2.0" implementation "androidx.legacy:legacy-support-v4:1.0.0" implementation "androidx.lifecycle:lifecycle-extensions:$room" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$room" implementation "com.google.android.gms:play-services-base:17.1.0" implementation "com.google.android.gms:play-services-maps:17.0.0" implementation "com.google.android.gms:play-services-location:17.0.0" implementation 'com.google.maps.android:android-maps-utils:0.6.1' // добавление ripple эффекта implementation 'com.balysv:material-ripple:1.0.2' // логирование приложениия implementation 'com.github.snowdream.android.util:log:1.2.0' // Toast implementation 'com.muddzdev:styleabletoast:2.2.2' // Stream API implementation 'com.annimon:stream:1.2.1' // диалоги implementation 'com.afollestad.material-dialogs:core:0.9.6.0' // Circular Image View implementation 'com.pkmmte.view:circularimageview:1.1' // Progress Bar implementation 'me.zhanghai.android.materialprogressbar:library:1.6.1' // сериализация implementation 'com.google.code.gson:gson:2.8.6' // Кэш памяти и доп функции implementation 'com.google.guava:guava:27.1-android' implementation 'com.squareup.retrofit2:retrofit:2.6.2' implementation 'com.squareup.retrofit2:converter-gson:2.6.2' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.2' implementation 'com.squareup.retrofit2:converter-gson:2.6.2' implementation('com.squareup.retrofit2:converter-simplexml:2.6.2') { exclude group: 'xpp3', module: 'xpp3' exclude group: 'stax', module: 'stax-api' exclude group: 'stax', module: 'stax' } implementation 'com.squareup.okhttp3:okhttp:4.2.2' implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2' //Rx implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxjava:2.2.12' //implementation 'com.uber.autodispose:autodispose:1.2.0' //implementation 'com.uber.autodispose:autodispose-android-archcomponents:1.2.0' // Spinner implementation 'com.jaredrummler:material-spinner:1.3.1' //BottomSheetDialog implementation 'org.michaelbel:bottomsheet:1.2.3' // Camera barcode scanner implementation 'com.google.android.gms:play-services-vision:19.0.0' }