build.gradle 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. applicationId "com.norman.webviewup.demo"
  8. minSdkVersion 21
  9. targetSdkVersion 30
  10. versionCode 1
  11. versionName "1.0"
  12. ndk {
  13. abiFilters "armeabi-v7a"
  14. // abiFilters "arm64-v8a", "armeabi-v7a"
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled true
  20. shrinkResources true
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. debug {
  24. debuggable true
  25. minifyEnabled false
  26. }
  27. }
  28. sourceSets {
  29. main {
  30. jniLibs.srcDirs = ["libs"]
  31. }
  32. }
  33. compileOptions {
  34. sourceCompatibility JavaVersion.VERSION_1_8
  35. targetCompatibility JavaVersion.VERSION_1_8
  36. }
  37. }
  38. dependencies {
  39. implementation 'androidx.appcompat:appcompat:1.3.0'
  40. implementation 'me.laoyuyu.aria:core:3.8.16'
  41. }