Advertisement
Guest User

dependecies.gradle

a guest
Dec 19th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.43 KB | None | 0 0
  1. allprojects {
  2.     repositories {
  3.         google()
  4.         jcenter()
  5.     }
  6. }
  7.  
  8. ext {
  9.     androidBuildToolsVersion        = "29.0.2"
  10.     androidMinSdkVersion            = 21
  11.     androidTargetSdkVersion         = 29
  12.     androidCompileSdkVersion        = 29
  13.  
  14.     // UI
  15.     appCompatVersion                = '1.1.0'
  16.     constraintLayoutVersion         = '1.1.3'
  17.  
  18.     // Development
  19.     kotlin_version                  = '1.3.+'
  20.     annotationVersion               = '1.0.0'
  21.     coreKtxVersion                  = '1.0.2'
  22.  
  23.     // Test
  24.     junitVersion                    = "4.12"
  25.     androidJunitVersion             = "1.1.1"
  26.     espressoVersion                 = "3.2.0"
  27.  
  28.     dependencies = [
  29.         // ui
  30.         appcompat:                  "androidx.appcompat:appcompat:$appCompatVersion",
  31.         constraintlayout:           "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
  32.     ]
  33.  
  34.     developmentDependencies = [
  35.         kotlinStdlibJdk7:           "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlin_version}",
  36.         coreKtx:                    "androidx.core:core-ktx:${coreKtxVersion}",
  37.         annotation:                 "androidx.annotation:annotation:${annotationVersion}"
  38.     ]
  39.  
  40.     testDependencies = [
  41.         junit: "junit:junit:$junitVersion",
  42.         androidJunit: "androidx.test.ext:junit:$androidJunitVersion",
  43.         espresso: "androidx.test.espresso:espresso-core:$espressoVersion"
  44.     ]
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement