Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion 28
- buildToolsVersion "29.0.0"
- defaultConfig {
- applicationId "me.alhaz.tutorial.architecturecomponent"
- 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'
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation "androidx.appcompat:appcompat:$appCompatVersion"
- implementation "androidx.core:core-ktx:$coreKTXVersion"
- implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
- implementation "androidx.annotation:annotation:$androidXAnnotations"
- // RecycleView
- implementation "com.google.android.material:material:$materialVersion"
- implementation "androidx.recyclerview:recyclerview:$recyclerViewVersion"
- // Glide
- implementation("com.github.bumptech.glide:glide:$glideVersion") {
- exclude group: "androidx"
- }
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- kapt "com.github.bumptech.glide:compiler:$glideVersion"
- // GSON
- implementation "com.google.code.gson:gson:$gsonVersion"
- androidTestImplementation "junit:junit:$junitVersion"
- androidTestImplementation "androidx.test:runner:$runnerVersion"
- androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement