build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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"
  14. // abiFilters "arm64-v8a", "armeabi-v7a"
  15. }
  16. }
  17. aaptOptions {
  18. noCompress "apk"
  19. }
  20. signingConfigs {
  21. config {
  22. storeFile file("webup.keystore")
  23. storePassword "12345678"
  24. keyAlias "webup"
  25. keyPassword "12345678"
  26. }
  27. }
  28. buildTypes {
  29. release {
  30. minifyEnabled true
  31. shrinkResources true
  32. debuggable false
  33. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  34. signingConfig signingConfigs.config
  35. }
  36. debug {
  37. debuggable true
  38. minifyEnabled false
  39. signingConfig signingConfigs.config
  40. }
  41. }
  42. sourceSets {
  43. main {
  44. jniLibs.srcDirs = ["libs"]
  45. }
  46. }
  47. compileOptions {
  48. sourceCompatibility JavaVersion.VERSION_1_8
  49. targetCompatibility JavaVersion.VERSION_1_8
  50. }
  51. namespace 'com.norman.webviewup.demo'
  52. }
  53. dependencies {
  54. implementation 'androidx.appcompat:appcompat:1.3.0'
  55. implementation project(":core")
  56. implementation project(':download-source')
  57. }