学习机 新
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 line
1.5KB

  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.telpo.betamode'
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "com.telpo.betamode"
  9. minSdk 20
  10. targetSdk 33
  11. versionCode 1
  12. versionName "1.0.2"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. archivesBaseName("betamode_${versionName}")
  15. }
  16. signingConfigs {
  17. //系统应用调试
  18. debug {
  19. keyAlias 'platform'
  20. keyPassword '123456'
  21. storeFile file('config/platform.keystore')
  22. storePassword '123456'
  23. }
  24. release {
  25. keyAlias 'platform'
  26. keyPassword '123456'
  27. storeFile file('config/platform.keystore')
  28. storePassword '123456'
  29. }
  30. }
  31. buildTypes {
  32. release {
  33. minifyEnabled false
  34. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  35. signingConfig signingConfigs.release
  36. }
  37. }
  38. compileOptions {
  39. sourceCompatibility JavaVersion.VERSION_1_8
  40. targetCompatibility JavaVersion.VERSION_1_8
  41. }
  42. }
  43. dependencies {
  44. implementation 'androidx.appcompat:appcompat:1.4.1'
  45. implementation 'com.google.android.material:material:1.5.0'
  46. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  47. testImplementation 'junit:junit:4.13.2'
  48. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  49. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  50. }