build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. applicationId "com.fusi24.rfid"
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. }
  24. dependencies {
  25. implementation fileTree(dir: 'libs', include: ['*.jar'])
  26. implementation 'androidx.appcompat:appcompat:1.1.0'
  27. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  28. implementation "androidx.recyclerview:recyclerview:1.1.0"
  29. //BUTTER KNIFE
  30. implementation 'com.jakewharton:butterknife:10.0.0'
  31. annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
  32. //Timber
  33. implementation 'com.jakewharton.timber:timber:4.7.1'
  34. //RX JAVA
  35. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  36. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
  37. //GSON
  38. implementation 'com.google.code.gson:gson:2.8.5'
  39. //OKHTTP
  40. implementation 'com.squareup.okio:okio:2.1.0'
  41. implementation 'com.squareup.okhttp3:okhttp:3.12.0'
  42. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  43. //RETROFIT
  44. implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
  45. //Circle Image
  46. implementation 'de.hdodenhof:circleimageview:3.0.0'
  47. //Glide Image Processing
  48. implementation 'com.github.bumptech.glide:glide:4.10.0'
  49. annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
  50. //Serial Port
  51. implementation files('libs/serialport.jar')
  52. implementation files('libs/android-async-http-1.4.9.jar')
  53. implementation files('libs/httpclient-4.4.1.1.jar')
  54. testImplementation 'junit:junit:4.12'
  55. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  56. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  57. }