build.gradle 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 15
  10. targetSdkVersion 28
  11. versionCode 15
  12. versionName "1.3.0"
  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. applicationIdSuffix ".debug"
  24. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(include: ['*.jar'], dir: 'libs')
  30. // Kotlin Libraries
  31. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  32. // Support Libraries
  33. implementation 'androidx.appcompat:appcompat:1.0.0'
  34. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  35. implementation 'androidx.cardview:cardview:1.0.0'
  36. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  37. // Google Libraries
  38. implementation 'com.google.android.material:material:1.0.0'
  39. // Arch Components
  40. implementation 'androidx.core:core-ktx:1.0.0'
  41. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  42. implementation 'android.arch.navigation:navigation-fragment:1.0.0-alpha07'
  43. implementation 'androidx.room:room-runtime:2.1.0-alpha01'
  44. kapt "androidx.room:room-compiler:2.1.0-alpha01"
  45. kapt "androidx.lifecycle:lifecycle-compiler:2.0.0"
  46. // 3rd Party libs
  47. implementation 'com.daasuu:EasingInterpolator:1.0.0'
  48. // Test libs
  49. testImplementation 'junit:junit:4.12'
  50. testImplementation 'org.mockito:mockito-core:2.19.0'
  51. androidTestImplementation 'androidx.room:room-testing:2.1.0-alpha01'
  52. androidTestImplementation 'androidx.test:runner:1.1.0'
  53. androidTestImplementation 'androidx.test:rules:1.1.0'
  54. androidTestImplementation 'androidx.annotation:annotation:1.0.0'
  55. androidTestImplementation 'androidx.test:runner:1.1.0'
  56. androidTestImplementation 'androidx.test:rules:1.1.0'
  57. androidTestImplementation "androidx.arch.core:core-testing:2.0.0"
  58. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  59. androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2'
  60. }