build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. plugins {
  2. alias(libs.plugins.androidApplication)
  3. }
  4. android {
  5. namespace 'com.example.modifier'
  6. compileSdk 34
  7. buildFeatures {
  8. buildConfig = true
  9. }
  10. defaultConfig {
  11. applicationId "com.example.modifier"
  12. minSdk 26
  13. targetSdk 34
  14. versionCode 1
  15. versionName "1.0"
  16. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  17. }
  18. signingConfigs {
  19. release {
  20. storeFile file('../release.keystore')
  21. storePassword '123456'
  22. keyAlias 'key'
  23. keyPassword '123456'
  24. }
  25. }
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  30. signingConfig signingConfigs.release
  31. }
  32. debug {
  33. signingConfig signingConfigs.release
  34. }
  35. }
  36. compileOptions {
  37. sourceCompatibility JavaVersion.VERSION_1_8
  38. targetCompatibility JavaVersion.VERSION_1_8
  39. }
  40. viewBinding {
  41. enabled = true
  42. }
  43. }
  44. dependencies {
  45. implementation libs.appcompat
  46. implementation libs.material
  47. implementation libs.activity
  48. implementation libs.constraintlayout
  49. testImplementation libs.junit
  50. androidTestImplementation libs.ext.junit
  51. androidTestImplementation libs.espresso.core
  52. implementation libs.gson
  53. implementation libs.commons.lang3
  54. implementation libs.commons.collections4
  55. implementation libs.commons.io
  56. implementation(libs.socket.io.client) {
  57. exclude group: 'org.json', module: 'json'
  58. }
  59. implementation(libs.socket.io.client) {
  60. exclude group: 'org.json', module: 'json'
  61. }
  62. }