build.gradle 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. apply plugin: 'com.android.application'
  2. apply from: '../config/git-version.gradle'
  3. android {
  4. compileSdkVersion 29
  5. buildToolsVersion "29.0.3"
  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. signingConfigs {
  15. release {
  16. keyAlias 'rfid-hse-fusi'
  17. keyPassword 'spontanuhuy'
  18. storeFile file('../keystore.jks')
  19. storePassword 'password'
  20. }
  21. }
  22. buildTypes {
  23. release {
  24. minifyEnabled false
  25. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. compileOptions {
  29. sourceCompatibility JavaVersion.VERSION_1_8
  30. targetCompatibility JavaVersion.VERSION_1_8
  31. }
  32. }
  33. dependencies {
  34. implementation fileTree(dir: 'libs', include: ['*.jar'])
  35. implementation 'androidx.appcompat:appcompat:1.1.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  37. implementation "androidx.recyclerview:recyclerview:1.1.0"
  38. //BUTTER KNIFE
  39. implementation 'com.jakewharton:butterknife:10.0.0'
  40. annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
  41. //Timber
  42. implementation 'com.jakewharton.timber:timber:4.7.1'
  43. //RX JAVA
  44. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  45. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
  46. //GSON
  47. implementation 'com.google.code.gson:gson:2.8.5'
  48. //OKHTTP
  49. implementation 'com.squareup.okio:okio:2.1.0'
  50. implementation 'com.squareup.okhttp3:okhttp:3.12.0'
  51. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  52. //RETROFIT
  53. implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
  54. //Circle Image
  55. implementation 'de.hdodenhof:circleimageview:3.1.0'
  56. //Glide Image Processing
  57. implementation 'com.github.bumptech.glide:glide:4.11.0'
  58. annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
  59. //Serial Port
  60. implementation files('libs/serialport.jar')
  61. implementation files('libs/android-async-http-1.4.9.jar')
  62. implementation files('libs/httpclient-4.4.1.1.jar')
  63. testImplementation 'junit:junit:4.13'
  64. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  65. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  66. }