build.gradle 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'kotlin-kapt'
  5. android {
  6. compileSdkVersion 28
  7. defaultConfig {
  8. applicationId "com.sduduzog.slimlauncher"
  9. minSdkVersion 16
  10. targetSdkVersion 28
  11. versionCode 29
  12. versionName "2.2.7"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. vectorDrawables.useSupportLibrary = true
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled true
  19. shrinkResources true
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. debug {
  23. minifyEnabled false
  24. applicationIdSuffix ".debug"
  25. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(include: ['*.jar'], dir: 'libs')
  31. // Kotlin Libraries
  32. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  33. // Support Libraries
  34. implementation 'androidx.appcompat:appcompat:1.0.2'
  35. implementation 'androidx.cardview:cardview:1.0.0'
  36. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  37. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
  38. // Google Libraries
  39. implementation 'com.google.android.material:material:1.0.0'
  40. // Arch Components
  41. implementation 'androidx.core:core-ktx:1.1.0-alpha03'
  42. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  43. implementation 'android.arch.navigation:navigation-fragment:1.0.0-alpha09'
  44. implementation 'androidx.room:room-runtime:2.1.0-alpha03'
  45. kapt "androidx.room:room-compiler:2.1.0-alpha03"
  46. kapt "androidx.lifecycle:lifecycle-compiler:2.0.0"
  47. //3rd party libs
  48. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  49. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  50. // Test libs
  51. testImplementation 'junit:junit:4.12'
  52. testImplementation 'org.mockito:mockito-core:2.19.0'
  53. androidTestImplementation 'androidx.room:room-testing:2.1.0-alpha03'
  54. androidTestImplementation 'androidx.test:runner:1.1.1'
  55. androidTestImplementation 'androidx.test:rules:1.1.1'
  56. androidTestImplementation 'androidx.annotation:annotation:1.0.1'
  57. androidTestImplementation 'androidx.test:runner:1.1.1'
  58. androidTestImplementation 'androidx.test:rules:1.1.1'
  59. androidTestImplementation "androidx.arch.core:core-testing:2.0.0"
  60. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  61. androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.1'
  62. }