build.gradle 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.cfmlg.mlg'
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "com.cfmlg.mlg680"
  9. minSdk 24
  10. targetSdk 29
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. lintOptions {
  16. abortOnError false
  17. }
  18. signingConfigs {
  19. release {
  20. storeFile file('src/key/key.keystore')
  21. storePassword 'guonenghuizhi888'
  22. keyAlias 'jsyg'
  23. keyPassword 'guonenghuizhi888'
  24. }
  25. }
  26. buildTypes {
  27. release {
  28. signingConfig signingConfigs.release
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility JavaVersion.VERSION_1_8
  33. targetCompatibility JavaVersion.VERSION_1_8
  34. }
  35. externalNativeBuild {
  36. cmake {
  37. path file('src/main/cpp/CMakeLists.txt')
  38. version '3.22.1'
  39. }
  40. }
  41. dataBinding {
  42. enabled = true
  43. }
  44. buildFeatures {
  45. viewBinding true
  46. }
  47. sourceSets {
  48. main {
  49. jniLibs.srcDirs = ['libs']
  50. }
  51. }
  52. }
  53. dependencies {
  54. implementation 'androidx.appcompat:appcompat:1.4.1'
  55. implementation 'com.google.android.material:material:1.5.0'
  56. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  57. testImplementation 'junit:junit:4.13.2'
  58. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  59. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  60. implementation 'androidx.appcompat:appcompat:1.4.1'
  61. implementation 'org.apache.commons:commons-lang3:3.12.0'
  62. implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
  63. implementation 'androidx.appcompat:appcompat:1.4.0'
  64. implementation 'com.github.sahooz:ImageMapView:1.0.1'
  65. implementation 'com.github.getActivity:XXPermissions:20.0'
  66. implementation 'androidx.databinding:databinding-runtime:4.0.0'
  67. implementation 'com.github.zrunker:ZImageView:v1.0'
  68. implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
  69. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  70. }