build.gradle 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.google.gms.google-services'
  3. android {
  4. compileOptions {
  5. sourceCompatibility JavaVersion.VERSION_1_8
  6. targetCompatibility JavaVersion.VERSION_1_8
  7. }
  8. signingConfigs {
  9. debug {
  10. storeFile file("../icontrols_keystore.jks")
  11. storePassword "hdc!@icontrols34"
  12. keyAlias "debug_key"
  13. keyPassword "hdc!@12"
  14. }
  15. release {
  16. storeFile file("../icontrols_keystore.jks")
  17. storePassword "hdc!@icontrols34"
  18. keyAlias "release_key"
  19. keyPassword "hdc!@34"
  20. }
  21. }
  22. compileSdkVersion 29
  23. defaultConfig {
  24. applicationId "kr.co.icontrols.iotplatform"
  25. minSdkVersion 26
  26. targetSdkVersion 29
  27. versionCode 1
  28. versionName "1.0"
  29. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  30. }
  31. buildTypes {
  32. debug {
  33. minifyEnabled false
  34. signingConfig signingConfigs.debug
  35. manifestPlaceholders = [googleMapsKey: 'xxx', kakaoMapKey: '7b07afcee0753baf20590412749bd0a6']
  36. }
  37. release {
  38. minifyEnabled true
  39. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  40. signingConfig signingConfigs.release
  41. manifestPlaceholders = [googleMapsKey: 'xxx', kakaoMapKey: '7b07afcee0753baf20590412749bd0a6']
  42. }
  43. }
  44. buildToolsVersion '29.0.2'
  45. }
  46. dependencies {
  47. implementation fileTree(dir: "libs", include: ["*.jar"])
  48. implementation 'com.google.android.gms:play-services-auth:18.1.0'
  49. implementation 'org.jsoup:jsoup:1.11.3'
  50. implementation 'androidx.appcompat:appcompat:1.1.0'
  51. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  52. testImplementation 'junit:junit:4.12'
  53. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  54. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  55. implementation 'com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.16.+'
  56. implementation 'com.google.android.material:material:1.1.0'
  57. def room_version = "2.2.5"
  58. implementation "androidx.room:room-runtime:$room_version"
  59. annotationProcessor "androidx.room:room-compiler:$room_version"
  60. // BEGIN AWS S3
  61. def aws_version = "2.16.+"
  62. implementation "com.amazonaws:aws-android-sdk-s3:$aws_version"
  63. // AWS FreeRTOS
  64. //implementation project(':amazonfreertossdk')
  65. implementation('software.amazon.freertos:amazonfreertossdk:1.1.0')
  66. implementation('com.amazonaws:aws-android-sdk-mobile-client:2.13.5')
  67. implementation('com.amazonaws:aws-android-sdk-auth-userpools:2.13.5')
  68. implementation('com.amazonaws:aws-android-sdk-auth-ui:2.13.5')
  69. implementation 'com.amazonaws:aws-android-sdk-iot:2.13.5'
  70. // Nordic DFU (OTA)
  71. implementation 'no.nordicsemi.android:dfu:1.10.4'
  72. implementation 'no.nordicsemi.android:log:2.2.0'
  73. implementation 'no.nordicsemi.android:ble-livedata:2.2.0'
  74. implementation 'no.nordicsemi.android.support.v18:scanner:1.4.3'
  75. // Add the dependencies for the Firebase Cloud Messaging and Analytics libraries
  76. implementation 'com.google.firebase:firebase-messaging:20.2.4'
  77. implementation 'com.google.firebase:firebase-analytics:17.5.0'
  78. //OkHttp
  79. implementation 'com.squareup.okhttp3:okhttp:3.9.1'
  80. //JSON
  81. implementation 'org.jsoup:jsoup:1.11.3'
  82. api "androidx.appcompat:appcompat:$androidXLibraryVersion"
  83. implementation project(":cropper")
  84. }