build.gradle 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. apply plugin: 'com.android.application'
  2. apply from: '../config/git-version.gradle'
  3. android {
  4. compileSdkVersion 29
  5. buildToolsVersion "29.0.2"
  6. defaultConfig {
  7. applicationId "com.fusi24.rfid"
  8. minSdkVersion 21
  9. targetSdkVersion 29
  10. versionCode gitVersionCode
  11. versionName gitVersionName
  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. }
  25. dependencies {
  26. implementation fileTree(dir: 'libs', include: ['*.jar'])
  27. implementation 'androidx.appcompat:appcompat:1.1.0'
  28. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  29. implementation "androidx.recyclerview:recyclerview:1.1.0"
  30. //BUTTER KNIFE
  31. implementation 'com.jakewharton:butterknife:10.0.0'
  32. annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
  33. //Timber
  34. implementation 'com.jakewharton.timber:timber:4.7.1'
  35. //RX JAVA
  36. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  37. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
  38. //GSON
  39. implementation 'com.google.code.gson:gson:2.8.5'
  40. //OKHTTP
  41. implementation 'com.squareup.okio:okio:2.1.0'
  42. implementation 'com.squareup.okhttp3:okhttp:3.12.0'
  43. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  44. //RETROFIT
  45. implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
  46. //Circle Image
  47. implementation 'de.hdodenhof:circleimageview:3.0.0'
  48. //Glide Image Processing
  49. implementation 'com.github.bumptech.glide:glide:4.10.0'
  50. annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
  51. //Serial Port
  52. implementation files('libs/serialport.jar')
  53. implementation files('libs/android-async-http-1.4.9.jar')
  54. implementation files('libs/httpclient-4.4.1.1.jar')
  55. testImplementation 'junit:junit:4.12'
  56. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  57. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  58. }