android端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

42 рядки
1.2 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. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. buildFeatures {
  25. viewBinding true
  26. }
  27. }
  28. dependencies {
  29. implementation 'androidx.appcompat:appcompat:1.2.0'
  30. implementation 'com.google.android.material:material:1.2.1'
  31. testImplementation 'junit:junit:4.+'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  34. implementation 'com.github.Justson.AgentWeb:agentweb-core:v4.1.9-androidx' // (必选)
  35. implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v4.1.9-androidx'
  36. }