build.gradle 1.1 KB

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