build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. applicationId "com.anji.plus.version"
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 1
  10. versionName "1.0.1"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. signingConfigs {
  14. release {
  15. storeFile file("appsp.jks")
  16. storePassword "0123456789"
  17. keyAlias "appsp"
  18. keyPassword "0123456789"
  19. }
  20. debug {
  21. storeFile file("appsp.jks")
  22. storePassword "0123456789"
  23. keyAlias "appsp"
  24. keyPassword "0123456789"
  25. }
  26. }
  27. buildTypes {
  28. release {
  29. signingConfig signingConfigs.release
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  32. }
  33. //测试
  34. debug {
  35. signingConfig signingConfigs.debug
  36. }
  37. }
  38. }
  39. dependencies {
  40. implementation fileTree(dir: 'libs', include: ['*.jar'])
  41. implementation fileTree(dir: 'libs', include: ['*.aar'])
  42. implementation 'androidx.appcompat:appcompat:1.1.0'
  43. //版本更新
  44. // implementation 'anji.sdk.appsp:aar:0.0.2'
  45. }