build.gradle 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'jx.cn.escort'
  7. compileSdk 34
  8. defaultConfig {
  9. applicationId "jx.cn.escort"
  10. minSdk 24
  11. targetSdk 34
  12. versionCode 1
  13. versionName "1.0"
  14. ndk { abiFilters "armeabi","x86","x86_64","armeabi-v7a","arm64-v8a" }
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. splits {
  24. abi {
  25. // enable true
  26. // reset()
  27. include "armeabi","x86","x86_64","armeabi-v7a","arm64-v8a"
  28. // universalApk false
  29. }
  30. }
  31. // signingConfigs {
  32. // release {
  33. // storeFile file('..\\keystore\\psbc.jks')
  34. // storePassword '123456'
  35. // keyAlias 'psbc'
  36. // keyPassword '123456'
  37. // }
  38. // debug{
  39. // storeFile file('..\\keystore\\psbc.jks')
  40. // storePassword '123456'
  41. // keyAlias 'psbc'
  42. // keyPassword '123456'
  43. // }
  44. // }
  45. compileOptions {
  46. sourceCompatibility JavaVersion.VERSION_1_8
  47. targetCompatibility JavaVersion.VERSION_1_8
  48. }
  49. kotlinOptions {
  50. jvmTarget = '1.8'
  51. }
  52. }
  53. dependencies {
  54. implementation 'androidx.core:core-ktx:1.10.1'
  55. implementation 'androidx.appcompat:appcompat:1.6.1'
  56. implementation 'com.google.android.material:material:1.9.0'
  57. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  58. testImplementation 'junit:junit:4.13.2'
  59. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  60. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  61. }