build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.application'
  2. android {
  3. signingConfigs {
  4. release {
  5. storeFile file('20200508.jks')
  6. storePassword ''
  7. keyAlias 'key0'
  8. keyPassword ''
  9. }
  10. }
  11. compileSdkVersion 33
  12. defaultConfig {
  13. applicationId "me.yoqi.android.compass"
  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. signingConfig signingConfigs.release
  23. minifyEnabled true
  24. shrinkResources true
  25. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26. }
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(dir: "libs", include: ["*.jar"])
  31. implementation 'androidx.appcompat:appcompat:1.6.1'
  32. implementation 'com.google.android.material:material:1.9.0'
  33. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  34. testImplementation 'junit:junit:4.13.2'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  37. }