build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.1.1'
  9. classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
  10. // NOTE: Do not place your application dependencies here; they belong
  11. // in the individual module build.gradle files
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. google()
  17. jcenter()
  18. maven { url "https://jitpack.io" }
  19. }
  20. }
  21. task clean(type: Delete) {
  22. delete rootProject.buildDir
  23. }
  24. // Define versions in a single place
  25. ext {
  26. // Sdk and tools
  27. // Support library and architecture components support minSdk 14 and above.
  28. minSdkVersion = 14
  29. targetSdkVersion = 27
  30. compileSdkVersion = 27
  31. buildToolsVersion = '26.0.2'
  32. // App dependencies
  33. supportLibraryVersion = '26.1.0'
  34. guavaVersion = '18.0'
  35. junitVersion = '4.12'
  36. mockitoVersion = '1.10.19'
  37. powerMockito = '1.6.2'
  38. hamcrestVersion = '1.3'
  39. runnerVersion = '1.0.1'
  40. rulesVersion = '1.0.1'
  41. espressoVersion = '3.0.1'
  42. roomVersion = "1.0.0"
  43. daggerVersion = '2.15'
  44. dexmakerVersion = '1.2'
  45. }