// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN apply plugin: 'com.android.library' **APPLY_PLUGINS** buildscript { repositories { google() jcenter() } dependencies { // classpath 'com.android.tools.build:gradle:3.2.0' **BUILD_SCRIPT_DEPS**} } allprojects { repositories { google() jcenter() flatDir { dirs 'libs' } } } apply plugin: 'com.android.application' if (file("${rootDir}/lebian").exists()) { apply plugin: 'com.loveota.lbsdk' apply from: project(':lebian').file('lebian_app.gradle') } //**APPLY_PLUGINS** dependencies { implementation fileTree(dir: 'libs', include: ['*.jar','*.aar']) implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.appcompat:appcompat:1.6.0' implementation 'com.github.bumptech.glide:glide:4.11.0' //中台 implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.adjust.sdk:adjust-android:4.31.0' implementation 'com.google.android.gms:play-services-auth:20.6.0' implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) //Json implementation('com.google.code.gson:gson:2.8.6') **DEPS**} android { namespace "com.unity3d.player" ndkPath "**NDKPATH**" compileSdkVersion **APIVERSION** buildToolsVersion '**BUILDTOOLS**' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { minSdkVersion **MINSDKVERSION** targetSdkVersion **TARGETSDKVERSION** applicationId '**APPLICATIONID**' ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** } lintOptions { abortOnError false } //aaptOptions { // noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**] //}**SIGN** aaptOptions { noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" }**PACKAGING_OPTIONS** buildTypes { debug { minifyEnabled **MINIFY_DEBUG** //useProguard **PROGUARD_DEBUG** proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD** jniDebuggable true } release { minifyEnabled **MINIFY_RELEASE** // useProguard **PROGUARD_RELEASE** proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'**USER_PROGUARD****SIGNCONFIG** } }**PACKAGING_OPTIONS****SPLITS** **BUILT_APK_LOCATION** bundle { language { enableSplit = false } density { enableSplit = false } abi { enableSplit = true } } } **IL_CPP_BUILD_SETUP** **SOURCE_BUILD_SETUP** **EXTERNAL_SOURCES** //**SPLITS_VERSION_CODE****REPOSITORIES****SOURCE_BUILD_SETUP**