build.gradle 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. plugins{
  2. id 'com.android.application'
  3. id'kotlin-android'
  4. id 'kotlin-android-extensions'
  5. id 'kotlin-kapt'
  6. }
  7. android {
  8. dataBinding {
  9. enabled = true
  10. }
  11. compileSdkVersion 29
  12. defaultConfig {
  13. applicationId "com.jkuester.unlauncher"
  14. minSdkVersion 21
  15. targetSdkVersion 29
  16. versionCode 41
  17. versionName "0.0.1"
  18. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19. vectorDrawables.useSupportLibrary = true
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled true
  24. shrinkResources true
  25. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26. }
  27. debug {
  28. minifyEnabled false
  29. applicationIdSuffix ".debug"
  30. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  31. }
  32. }
  33. compileOptions {
  34. sourceCompatibility = JavaVersion.VERSION_1_8
  35. targetCompatibility = JavaVersion.VERSION_1_8
  36. }
  37. kotlinOptions {
  38. jvmTarget = "1.8"
  39. }
  40. lintOptions{
  41. disable 'MissingTranslation'
  42. }
  43. applicationVariants.all { variant ->
  44. variant.outputs.all {
  45. outputFileName = "${applicationId}.apk"
  46. }
  47. }
  48. }
  49. dependencies {
  50. implementation fileTree(include: ['*.jar'], dir: 'libs')
  51. // Kotlin Libraries
  52. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  53. // Support Libraries
  54. implementation 'androidx.appcompat:appcompat:1.0.2'
  55. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  56. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
  57. // Arch Components
  58. implementation 'androidx.core:core-ktx:1.2.0-alpha03'
  59. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  60. implementation 'android.arch.navigation:navigation-fragment:1.0.0'
  61. implementation 'androidx.room:room-runtime:2.1.0'
  62. implementation "androidx.lifecycle:lifecycle-common-java8:2.0.0"
  63. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  64. kapt "androidx.room:room-compiler:2.1.0"
  65. //3rd party libs
  66. implementation 'com.intuit.sdp:sdp-android:1.0.6'
  67. implementation 'com.intuit.ssp:ssp-android:1.0.6'
  68. // Test libs
  69. testImplementation 'junit:junit:4.12'
  70. testImplementation 'org.mockito:mockito-core:2.19.0'
  71. androidTestImplementation 'androidx.room:room-testing:2.1.0'
  72. androidTestImplementation 'androidx.test:runner:1.2.0'
  73. androidTestImplementation 'androidx.test:rules:1.2.0'
  74. androidTestImplementation 'androidx.annotation:annotation:1.1.0'
  75. androidTestImplementation 'androidx.test:runner:1.2.0'
  76. androidTestImplementation 'androidx.test:rules:1.2.0'
  77. androidTestImplementation "androidx.arch.core:core-testing:2.0.1"
  78. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  79. androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0'
  80. }