|  | 
|  | 1 | +apply plugin: 'com.android.application' | 
|  | 2 | +apply plugin: 'kotlin-android' | 
|  | 3 | +apply plugin: 'kotlin-android-extensions' | 
|  | 4 | + | 
|  | 5 | +android { | 
|  | 6 | + compileSdkVersion 29 | 
|  | 7 | + buildToolsVersion "29.0.2" | 
|  | 8 | + | 
|  | 9 | + defaultConfig { | 
|  | 10 | + applicationId "com.mindorks.retrofit.coroutines" | 
|  | 11 | + minSdkVersion 21 | 
|  | 12 | + targetSdkVersion 29 | 
|  | 13 | + versionCode 1 | 
|  | 14 | + versionName "1.0" | 
|  | 15 | + | 
|  | 16 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | 
|  | 17 | + } | 
|  | 18 | + | 
|  | 19 | + buildTypes { | 
|  | 20 | + release { | 
|  | 21 | + minifyEnabled false | 
|  | 22 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | 
|  | 23 | + } | 
|  | 24 | + } | 
|  | 25 | + | 
|  | 26 | +} | 
|  | 27 | + | 
|  | 28 | +dependencies { | 
|  | 29 | + implementation fileTree(dir: 'libs', include: ['*.jar']) | 
|  | 30 | + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | 
|  | 31 | + implementation 'androidx.appcompat:appcompat:1.1.0' | 
|  | 32 | + implementation 'androidx.core:core-ktx:1.2.0' | 
|  | 33 | + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | 
|  | 34 | + | 
|  | 35 | + implementation 'androidx.recyclerview:recyclerview:1.1.0' | 
|  | 36 | + implementation 'com.github.bumptech.glide:glide:4.9.0' | 
|  | 37 | + | 
|  | 38 | + //LifeCycle | 
|  | 39 | + implementation 'androidx.lifecycle:lifecycle-common:2.2.0' | 
|  | 40 | + implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0' | 
|  | 41 | + implementation 'android.arch.lifecycle:extensions:2.2.0' | 
|  | 42 | + implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0' | 
|  | 43 | + | 
|  | 44 | + //Retrofit | 
|  | 45 | + implementation 'com.squareup.retrofit2:retrofit:2.6.0' | 
|  | 46 | + implementation 'com.google.code.gson:gson:2.8.5' | 
|  | 47 | + implementation 'com.squareup.retrofit2:converter-gson:2.5.0' | 
|  | 48 | + implementation 'com.squareup.okhttp3:logging-interceptor:3.12.0' | 
|  | 49 | + | 
|  | 50 | + //Coroutines | 
|  | 51 | + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5' | 
|  | 52 | + | 
|  | 53 | + testImplementation 'junit:junit:4.12' | 
|  | 54 | + androidTestImplementation 'androidx.test.ext:junit:1.1.1' | 
|  | 55 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | 
|  | 56 | +} | 
0 commit comments