达翔pda
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.

66 lines
2.2 KiB

4 years ago
4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
3 years ago
3 years ago
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion "30.0.3"
  5. defaultConfig {
  6. applicationId "com.icssoft.icspda"
  7. minSdkVersion 18
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. signingConfigs {
  14. release {
  15. keyAlias 'key0'
  16. keyPassword 'ics123'
  17. storeFile file('E:\\2021_work\\DXPDA\\androidkey\\dxKey.jks')
  18. storePassword 'ics123'
  19. }
  20. debug {
  21. keyAlias 'key0'
  22. keyPassword 'ics123'
  23. storeFile file('E:\\2021_work\\DXPDA\\androidkey\\dxKey.jks')
  24. storePassword 'ics123'
  25. }
  26. }
  27. buildTypes {
  28. release {
  29. lintOptions {
  30. checkReleaseBuilds false
  31. abortOnError false
  32. }
  33. minifyEnabled false
  34. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  35. }
  36. debug {
  37. lintOptions {
  38. checkReleaseBuilds false
  39. abortOnError false
  40. }
  41. minifyEnabled false
  42. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  43. signingConfig signingConfigs.debug
  44. }
  45. android.applicationVariants.all {
  46. variant ->
  47. variant.outputs.all {
  48. outputFileName = "ICSPDA_v${defaultConfig.versionName}.apk"
  49. }
  50. }
  51. }
  52. dependencies {
  53. implementation fileTree(dir: 'libs', include: ['*.jar'])
  54. implementation 'androidx.appcompat:appcompat:1.0.2'
  55. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  56. implementation files('libs\\ZSDK_ANDROID_API.jar')
  57. testImplementation 'junit:junit:4.12'
  58. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  59. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  60. implementation 'com.google.code.gson:gson:2.8.6'
  61. implementation 'com.github.huangyanbin:SmartTable:2.2.0'
  62. }
  63. }