build.gradle 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 33
  12. versionName "2.3.0-beta3"
  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.recyclerview:recyclerview:1.0.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4'
  37. // Arch Components
  38. implementation 'androidx.core:core-ktx:1.1.0-alpha05'
  39. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  40. implementation 'android.arch.navigation:navigation-fragment:1.0.0'
  41. implementation 'androidx.room:room-runtime:2.1.0-alpha06'
  42. kapt "androidx.room:room-compiler:2.1.0-alpha06"
  43. kapt "androidx.lifecycle:lifecycle-compiler:2.0.0"
  44. //3rd party libs
  45. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  46. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  47. // Test libs
  48. testImplementation 'junit:junit:4.12'
  49. testImplementation 'org.mockito:mockito-core:2.19.0'
  50. androidTestImplementation 'androidx.room:room-testing:2.1.0-alpha06'
  51. androidTestImplementation 'androidx.test:runner:1.1.1'
  52. androidTestImplementation 'androidx.test:rules:1.1.1'
  53. androidTestImplementation 'androidx.annotation:annotation:1.0.2'
  54. androidTestImplementation 'androidx.test:runner:1.1.1'
  55. androidTestImplementation 'androidx.test:rules:1.1.1'
  56. androidTestImplementation "androidx.arch.core:core-testing:2.0.1"
  57. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  58. androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.1'
  59. }