MBarra

build.gradle (Module:app)

Jul 20th, 2020
1,111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.3"
  8.  
  9.     compileOptions {
  10.         sourceCompatibility JavaVersion.VERSION_1_8
  11.         targetCompatibility JavaVersion.VERSION_1_8
  12.     }
  13.  
  14.     defaultConfig {
  15.         applicationId "com.mbarra.covid19app"
  16.         minSdkVersion 16
  17.         targetSdkVersion 29
  18.         versionCode 1
  19.         versionName "1.0"
  20.  
  21.         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  22.     }
  23.  
  24.     buildTypes {
  25.         release {
  26.             minifyEnabled false
  27.             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  28.         }
  29.     }
  30. }
  31.  
  32. dependencies {
  33.     implementation fileTree(dir: "libs", include: ["*.jar"])
  34.     implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  35.     implementation 'androidx.core:core-ktx:1.3.0'
  36.     implementation 'androidx.appcompat:appcompat:1.1.0'
  37.     implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  38.     testImplementation 'junit:junit:4.12'
  39.     androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  40.     androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  41.  
  42.     // Retrofit Library
  43.     implementation "com.squareup.retrofit2:retrofit:2.9.0"
  44.     implementation "com.squareup.retrofit2:converter-gson:2.9.0"
  45.  
  46.     // RecyclerView Library
  47.     implementation "androidx.recyclerview:recyclerview:1.1.0"
  48.  
  49.     // Swipe Refresh
  50.     implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
  51.  
  52.     // CircleImageView Library
  53.     implementation "de.hdodenhof:circleimageview:3.1.0"
  54.  
  55.     // Glide Library
  56.     implementation "com.github.bumptech.glide:glide:4.9.0"
  57.  
  58.     // CardView Library
  59.     implementation "androidx.cardview:cardview:1.0.0"
  60.  
  61.     // MPAndroidChart
  62.     implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
  63.  
  64. }
RAW Paste Data