android端
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.
 
 
 

54 lines
1.5 KiB

  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. applicationId "com.nsgk.ruralWeb"
  8. minSdkVersion 24
  9. targetSdkVersion 30
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. signingConfigs {
  15. release {
  16. v1SigningEnabled true
  17. v2SigningEnabled true
  18. storeFile file(project.properties.storeFile)
  19. storePassword project.properties.storePassword
  20. keyAlias project.properties.keyAlias
  21. keyPassword project.properties.keyPassword
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  28. signingConfig signingConfigs.release
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility JavaVersion.VERSION_1_8
  33. targetCompatibility JavaVersion.VERSION_1_8
  34. }
  35. buildFeatures {
  36. viewBinding true
  37. }
  38. }
  39. dependencies {
  40. implementation 'androidx.appcompat:appcompat:1.2.0'
  41. implementation 'com.google.android.material:material:1.2.1'
  42. testImplementation 'junit:junit:4.+'
  43. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  44. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  45. implementation 'com.github.Justson.AgentWeb:agentweb-core:v4.1.9-androidx' // (必选)
  46. implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v4.1.9-androidx'
  47. }