build.gradle 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 21
  10. targetSdkVersion 28
  11. versionCode 19
  12. versionName "2.0.3"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. vectorDrawables.useSupportLibrary = true
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled true
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. debug {
  22. minifyEnabled false
  23. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  24. }
  25. }
  26. }
  27. dependencies {
  28. implementation fileTree(include: ['*.jar'], dir: 'libs')
  29. // Kotlin Libraries
  30. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  31. // Support Libraries
  32. implementation 'androidx.appcompat:appcompat:1.0.2'
  33. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  34. implementation 'androidx.cardview:cardview:1.0.0'
  35. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  36. // Google Libraries
  37. implementation 'com.google.android.material:material:1.0.0'
  38. // Arch Components
  39. implementation 'androidx.core:core-ktx:1.0.1'
  40. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  41. implementation 'android.arch.navigation:navigation-fragment:1.0.0-alpha07'
  42. implementation 'androidx.room:room-runtime:2.1.0-alpha02'
  43. implementation 'androidx.legacy:legacy-support-v4:1.0.0-alpha1'
  44. implementation 'androidx.legacy:legacy-support-v13:1.0.0-alpha1'
  45. kapt "androidx.room:room-compiler:2.1.0-alpha02"
  46. kapt "androidx.lifecycle:lifecycle-compiler:2.0.0"
  47. // 3rd Party libs
  48. implementation 'com.daasuu:EasingInterpolator:1.0.0'
  49. // Test libs
  50. testImplementation 'junit:junit:4.12'
  51. testImplementation 'org.mockito:mockito-core:2.19.0'
  52. androidTestImplementation 'androidx.room:room-testing:2.1.0-alpha02'
  53. androidTestImplementation 'androidx.test:runner:1.1.0'
  54. androidTestImplementation 'androidx.test:rules:1.1.0'
  55. androidTestImplementation 'androidx.annotation:annotation:1.0.0'
  56. androidTestImplementation 'androidx.test:runner:1.1.0'
  57. androidTestImplementation 'androidx.test:rules:1.1.0'
  58. androidTestImplementation "androidx.arch.core:core-testing:2.0.0"
  59. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  60. androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2'
  61. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  62. }