build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.zhonjin.mppt'
  6. compileSdk 34
  7. defaultConfig {
  8. applicationId "com.zhonjin.mppt"
  9. minSdk 24
  10. targetSdk 34
  11. versionCode 1
  12. versionName "1.0.0"
  13. }
  14. signingConfigs {
  15. release {
  16. storeFile file("../keystore/mppt.jks")
  17. storePassword "mppt_2026"
  18. keyAlias "mppt"
  19. keyPassword "mppt_2026"
  20. }
  21. }
  22. buildTypes {
  23. release {
  24. minifyEnabled false
  25. signingConfig signingConfigs.release
  26. }
  27. debug {
  28. signingConfig signingConfigs.release
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility JavaVersion.VERSION_17
  33. targetCompatibility JavaVersion.VERSION_17
  34. }
  35. lint {
  36. abortOnError false
  37. checkReleaseBuilds false
  38. }
  39. }
  40. dependencies {
  41. implementation 'androidx.appcompat:appcompat:1.7.0'
  42. implementation 'com.google.android.material:material:1.12.0'
  43. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  44. implementation 'androidx.recyclerview:recyclerview:1.3.2'
  45. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  46. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  47. implementation 'com.squareup.okhttp3:okhttp:4.12.0'
  48. implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
  49. implementation 'com.google.code.gson:gson:2.10.1'
  50. }