HarshBarash

Untitled

May 18th, 2021
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.07 KB | None | 0 0
  1. plugins {
  2.     id 'com.android.application'
  3.     id 'kotlin-android'
  4. }
  5.  
  6. android {
  7.     compileSdkVersion 30
  8.     buildToolsVersion "30.0.2"
  9.  
  10.     defaultConfig {
  11.         applicationId "harshbarash.github.io"
  12.         minSdkVersion 23
  13.         targetSdkVersion 30
  14.         versionCode 1
  15.         versionName "1.0"
  16.  
  17.         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  18.     }
  19.  
  20.     buildTypes {
  21.         release {
  22.             minifyEnabled false
  23.             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  24.         }
  25.     }
  26.     compileOptions {
  27.         sourceCompatibility JavaVersion.VERSION_1_8
  28.         targetCompatibility JavaVersion.VERSION_1_8
  29.     }
  30. }
  31.  
  32. dependencies {
  33.  
  34.     implementation 'androidx.appcompat:appcompat:1.2.0'
  35.     implementation 'com.google.android.material:material:1.3.0'
  36.     //noinspection GradleCompatible
  37.     implementation 'com.android.support:design:23.1.0'
  38.     implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  39.     implementation 'androidx.navigation:navigation-fragment:2.3.4'
  40.     implementation 'androidx.navigation:navigation-ui:2.3.4'
  41.  
  42.     implementation 'androidx.recyclerview:recyclerview:1.2.0'
  43.     implementation 'androidx.cardview:cardview:1.0.0'
  44.  
  45.  
  46.     implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
  47.     implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
  48.     implementation 'com.google.firebase:firebase-database:20.0.0'
  49.  
  50.  
  51.     testImplementation 'junit:junit:4.13.2'
  52.     androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  53.     androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  54.  
  55.  
  56.  
  57.     implementation fileTree(dir: "libs", include: ["*.jar"])
  58.     implementation 'androidx.core:core-ktx:1.3.2'
  59.     implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  60.     implementation 'androidx.appcompat:appcompat:1.1.0'
  61.     implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  62.     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  63.     testImplementation 'junit:junit:4.13'
  64.     androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  65.     androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  66.  
  67.     // Navigation Component
  68.     implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2'
  69.     implementation 'androidx.navigation:navigation-ui-ktx:2.2.2'
  70.  
  71.     // Room components
  72.     implementation "androidx.room:room-runtime:2.2.5"
  73.     kapt "androidx.room:room-compiler:2.2.5"
  74.     implementation "androidx.room:room-ktx:2.2.5"
  75.     androidTestImplementation "androidx.room:room-testing:2.2.5"
  76.  
  77.     // Lifecycle components
  78.     implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  79.     implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0"
  80.     implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
  81.  
  82.     // Kotlin components
  83.     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72"
  84.     api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5"
  85.     api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5"
  86. }
  87.  
Add Comment
Please, Sign In to add comment