1234567891011121314151617181920212223242526272829303132333435363738 |
-
- 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 30
- buildToolsVersion '30.0.2'
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- defaultConfig {
- minSdkVersion 22
- targetSdkVersion 30
- ndk {
- abiFilters 'armeabi-v7a'
- }
- 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'
- }
- }
|