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

59 lines
1.6 KiB

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. targetSdkVersion 28
  9. versionCode 31
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. lintOptions {
  16. checkReleaseBuilds false
  17. abortOnError false
  18. }
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. debuggable = true
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility = 1.8
  26. targetCompatibility = 1.8
  27. }
  28. android.applicationVariants.all {
  29. variant ->
  30. variant.outputs.all {
  31. outputFileName = "ICSPDA_v${defaultConfig.versionName}.apk"
  32. }
  33. }
  34. }
  35. dependencies {
  36. implementation fileTree(dir: 'libs', include: ['*.jar'])
  37. implementation 'androidx.appcompat:appcompat:1.0.2'
  38. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  39. implementation files('src\\lib\\JavaMD5.jar')
  40. implementation files('src\\lib\\JavaMD5.jar')
  41. testImplementation 'junit:junit:4.12'
  42. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  43. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  44. implementation 'com.google.code.gson:gson:2.8.6'
  45. implementation 'com.github.huangyanbin:SmartTable:2.2.0'
  46. implementation 'com.alibaba:fastjson:1.2.76'
  47. }