build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. 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. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  33. signingConfig signingConfigs.config
  34. }
  35. debug {
  36. debuggable true
  37. minifyEnabled false
  38. signingConfig signingConfigs.config
  39. }
  40. }
  41. sourceSets {
  42. main {
  43. jniLibs.srcDirs = ["libs"]
  44. }
  45. }
  46. compileOptions {
  47. sourceCompatibility JavaVersion.VERSION_1_8
  48. targetCompatibility JavaVersion.VERSION_1_8
  49. }
  50. namespace 'com.norman.webviewup.demo'
  51. }
  52. dependencies {
  53. implementation 'androidx.appcompat:appcompat:1.3.0'
  54. implementation project(":core")
  55. implementation project(':download-source')
  56. }