build.gradle 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 29
  6. buildToolsVersion "30.0.0"
  7. defaultConfig {
  8. minSdkVersion 21
  9. targetSdkVersion 29
  10. versionCode 1
  11. versionName "1.1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. buildFeatures {
  25. viewBinding = true
  26. }
  27. }
  28. dependencies {
  29. implementation "androidx.appcompat:appcompat:$rootProject.appcompatVersion"
  30. //implementation "com.google.android.material:material:$rootProject.materialVersion"
  31. implementation "androidx.constraintlayout:constraintlayout:$rootProject.constraintlayoutVersion"
  32. // implementation "androidx.lifecycle:lifecycle-livedata-ktx:$rootProject.lifecycleVersion"
  33. // implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$rootProject.lifecycleVersion"
  34. implementation project(path: ':core:extension')
  35. testImplementation "junit:junit:$rootProject.junitVersion"
  36. androidTestImplementation "androidx.test.ext:junit:$rootProject.testExtJunitVersion"
  37. androidTestImplementation "androidx.test.espresso:espresso-core:$rootProject.espressoCoreVersion"
  38. implementation files('libs/phprpc-3.0.2.jar')
  39. implementation project(path: ':core:share')
  40. implementation "com.fasterxml.jackson.core:jackson-databind:$rootProject.jacksonVersion"
  41. implementation "com.fasterxml.jackson.core:jackson-core:$rootProject.jacksonVersion"
  42. implementation "com.fasterxml.jackson.core:jackson-annotations:$rootProject.jacksonVersion"
  43. implementation "com.squareup.retrofit2:retrofit:$rootProject.retrofitVersion"
  44. implementation "com.squareup.retrofit2:converter-scalars:$rootProject.retrofitVersion"
  45. }