爱思开(JAVA)
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.

60 lines
1.7 KiB

2 years ago
2 years ago
1 year ago
2 years ago
  1. apply plugin: 'com.android.application'
  2. android {compileSdkVersion 30
  3. buildToolsVersion '30.0.3'
  4. useLibrary 'org.apache.http.legacy'
  5. defaultConfig {
  6. applicationId "com.icssoft.icspda"
  7. minSdkVersion 18
  8. //noinspection ExpiredTargetSdkVersion
  9. targetSdkVersion 28
  10. versionCode 34
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. lintOptions {
  17. checkReleaseBuilds false
  18. abortOnError false
  19. }
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. debuggable = true
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility = 1.8
  27. targetCompatibility = 1.8
  28. }
  29. android.applicationVariants.all {
  30. variant ->
  31. variant.outputs.all {
  32. outputFileName = "ICSPDA_v${defaultConfig.versionName}.apk"
  33. }
  34. }
  35. }
  36. dependencies {
  37. implementation fileTree(dir: 'libs', include: ['*.jar'])
  38. implementation 'androidx.appcompat:appcompat:1.0.2'
  39. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  40. implementation files('src\\lib\\JavaMD5.jar')
  41. implementation files('src\\lib\\JavaMD5.jar')
  42. testImplementation 'junit:junit:4.12'
  43. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  44. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  45. implementation 'com.google.code.gson:gson:2.8.6'
  46. implementation 'com.github.huangyanbin:SmartTable:2.2.0'
  47. implementation 'com.alibaba:fastjson:1.2.76'
  48. }