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 38
  12. versionName "2.3.3"
  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. compileOptions {
  29. sourceCompatibility = JavaVersion.VERSION_1_8
  30. targetCompatibility = JavaVersion.VERSION_1_8
  31. }
  32. }
  33. dependencies {
  34. implementation fileTree(include: ['*.jar'], dir: 'libs')
  35. // Kotlin Libraries
  36. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  37. // Support Libraries
  38. implementation 'androidx.appcompat:appcompat:1.0.2'
  39. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  40. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta1'
  41. // Arch Components
  42. implementation 'androidx.core:core-ktx:1.2.0-alpha02'
  43. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  44. implementation 'android.arch.navigation:navigation-fragment:1.0.0'
  45. implementation 'androidx.room:room-runtime:2.1.0'
  46. kapt "androidx.room:room-compiler:2.1.0"
  47. kapt "androidx.lifecycle:lifecycle-compiler:2.0.0"
  48. //3rd party libs
  49. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  50. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  51. // Test libs
  52. testImplementation 'junit:junit:4.12'
  53. testImplementation 'org.mockito:mockito-core:2.19.0'
  54. androidTestImplementation 'androidx.room:room-testing:2.1.0'
  55. androidTestImplementation 'androidx.test:runner:1.2.0'
  56. androidTestImplementation 'androidx.test:rules:1.2.0'
  57. androidTestImplementation 'androidx.annotation:annotation:1.1.0'
  58. androidTestImplementation 'androidx.test:runner:1.2.0'
  59. androidTestImplementation 'androidx.test:rules:1.2.0'
  60. androidTestImplementation "androidx.arch.core:core-testing:2.0.1"
  61. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  62. androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0'
  63. }