Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 4.26 KB | None | 0 0
  1. plugins {
  2.     id("com.android.application")
  3.     id("kotlin-android")
  4.     id("kotlin-android-extensions")
  5. }
  6. android {
  7.     compileSdkVersion = 30
  8.     buildToolsVersion = "29.0.3"
  9.     buildFeatures {
  10.         dataBinding true
  11.     }
  12.  
  13.     defaultConfig {
  14.         buildConfigField 'boolean', 'ENABLE_ANALYTICS', 'true'
  15.         applicationIdSuffix '.dev'
  16.         minSdkVersion 21
  17.         targetSdkVersion 30
  18.         applicationIdSuffix '.dev'
  19.         resConfigs("en", "xxhdpi")
  20.         versionCode = 1
  21.         renderscriptSupportModeEnabled true
  22.         multiDexEnabled true
  23.         versionName "1.0"
  24.         vectorDrawables.useSupportLibrary = true
  25.         testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  26.     }
  27.     buildTypes {
  28.         release {
  29.             ext.alwaysUpdateBuildId = false
  30.             minifyEnabled = false
  31.             crunchPngs false
  32.             proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
  33.         }
  34.     }
  35.     compileOptions {
  36.         sourceCompatibility = JavaVersion.VERSION_1_8
  37.         targetCompatibility = JavaVersion.VERSION_1_8
  38.     }
  39.     android {
  40.         packagingOptions {
  41.             exclude 'META-INF/proguard/androidx-annotations.pro'
  42.         }
  43.     }
  44.     android {
  45.         dexOptions {
  46.             jumboMode = true
  47.         }
  48.     }
  49.     dependencies {
  50.         //implementation("javax.xml.bind:jaxb-api:2.3.1")
  51.         //implementation fileTree(include: ['*.jar'], dir: 'libs')
  52.         //noinspection GradleCompatible
  53.         implementation 'com.android.support:appcompat-v7:29.0.0'
  54.         implementation 'com.android.support:design:30.0.0'
  55.         //implementation 'com.android.support:cardview-v7:29.0.0'
  56.         implementation 'androidx.cardview:cardview:1.0.0'
  57.         //implementation 'com.android.support:recyclerview-v7:29.0.0'
  58.         implementation "androidx.recyclerview:recyclerview:1.2.0-alpha05"
  59.         implementation "androidx.recyclerview:recyclerview-selection:1.1.0-rc01"
  60.         implementation 'com.android.support:customtabs:30.0.0'
  61.         implementation 'com.android.support:support-vector-drawable:30.0.0'
  62.         implementation 'com.android.support:support-v4:30.0.0'
  63.         implementation "com.android.support:support-core-utils:30.0.0"
  64.         implementation "com.android.support:support-fragment:30.0.0"
  65.         implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  66.         //implementation 'com.android.support:multidex:1.0.3'
  67.         implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
  68.         implementation 'com.google.android.gms:play-services-maps:17.0.0'
  69.         implementation 'com.google.android.gms:play-services-location:17.0.0'
  70.         implementation 'com.google.android.gms:play-services-places:17.0.0'
  71.         implementation 'com.google.android.gms:play-services-vision-image-label:18.0.4'
  72.         implementation 'android.arch.navigation:navigation-runtime-ktx:1.0.0'
  73.         implementation 'com.google.android.gms:play-services-identity:17.0.0'
  74.         implementation 'com.lapism:searchview:4.0'
  75.         //implementation 'com.jakewharton.timber:timber:4.6.0'
  76.         api 'com.android.support:design:30.0.0'
  77.         implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
  78.         implementation('com.mikepenz:materialdrawer:5.9.5@aar') {
  79.             transitive = true
  80.  
  81.             // AndroidJUnitRunner and JUnit Rules
  82.             androidTestImplementation 'com.android.support.test:runner:1.0.2'
  83.             androidTestImplementation 'com.android.support.test:rules:1.0.2'
  84.  
  85.             // Espresso dependencies
  86.             androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  87.             androidTestImplementation 'com.android.support.test.espresso:espresso-contrib:3.0.2'
  88.             androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2'
  89.             androidTestImplementation 'com.android.support.test.espresso:espresso-accessibility:3.0.2'
  90.             androidTestImplementation 'com.android.support.test.espresso.idling:idling-concurrent:3.0.2'
  91.             androidTestImplementation 'com.android.support.test.espresso:espresso-idling-resource:3.0.2'
  92.             testImplementation("junit:junit:4.12")
  93.         }
  94.     }
  95. }
  96.  
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement