123456789101112131415161718192021222324252627282930313233343536373839 |
-
- apply plugin: 'com.android.library'
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation(name: 'UniWebView', ext:'aar')
- implementation(name: 'install-debug', ext:'aar')
- implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21'
- implementation 'androidx.browser:browser:1.2.0'
- }
- android {
- compileSdkVersion 33
- buildToolsVersion '30.0.2'
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- defaultConfig {
- minSdkVersion 22
- targetSdkVersion 33
- ndk {
- abiFilters 'armeabi-v7a', 'arm64-v8a'
- }
- versionCode 1
- versionName '1.0'
- consumerProguardFiles 'proguard-unity.txt'
- }
- lintOptions {
- abortOnError false
- }
- aaptOptions {
- noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
- ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
- }
- packagingOptions {
- doNotStrip '*/armeabi-v7a/*.so'
- doNotStrip '*/arm64-v8a/*.so'
- }
- }
|