暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build.gradle 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. apply plugin: 'com.android.library'
  2. dependencies {
  3. implementation fileTree(dir: 'libs', include: ['*.jar'])
  4. implementation 'androidx.appcompat:appcompat:1.2.0'
  5. implementation(name: 'UniWebView', ext:'aar')
  6. implementation(name: 'install-debug', ext:'aar')
  7. implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21'
  8. implementation 'androidx.browser:browser:1.2.0'
  9. }
  10. android {
  11. compileSdkVersion 33
  12. buildToolsVersion '30.0.2'
  13. compileOptions {
  14. sourceCompatibility JavaVersion.VERSION_1_8
  15. targetCompatibility JavaVersion.VERSION_1_8
  16. }
  17. defaultConfig {
  18. minSdkVersion 22
  19. targetSdkVersion 33
  20. ndk {
  21. abiFilters 'armeabi-v7a', 'arm64-v8a'
  22. }
  23. versionCode 1
  24. versionName '1.0'
  25. consumerProguardFiles 'proguard-unity.txt'
  26. }
  27. lintOptions {
  28. abortOnError false
  29. }
  30. aaptOptions {
  31. noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
  32. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
  33. }
  34. packagingOptions {
  35. doNotStrip '*/armeabi-v7a/*.so'
  36. doNotStrip '*/arm64-v8a/*.so'
  37. }
  38. }