build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 33
  4. signingConfigs {
  5. release {
  6. storeFile file('BaiDuAutoUpdateDemo.jks')
  7. storePassword 'CcxiY5pA'
  8. keyAlias 'key0'
  9. keyPassword 'CcxiY5pA'
  10. }
  11. }
  12. defaultConfig {
  13. applicationId "com.baidu.baidulocationdemo"
  14. minSdkVersion 16
  15. targetSdkVersion 33
  16. versionCode 10001
  17. versionName "1.0.1"
  18. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled true
  23. shrinkResources true
  24. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(dir: "libs", include: ["*.jar"])
  30. implementation 'androidx.appcompat:appcompat:1.6.1'
  31. implementation 'com.google.android.material:material:1.9.0'
  32. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  33. testImplementation 'junit:junit:4.13.2'
  34. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  36. }