| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- // 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'
- if (file("${rootDir}/lebian").exists()) {
- classpath 'com.loveota.plugins:lbplugin:latest.release'
- }
- **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'])
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'androidx.appcompat:appcompat:1.2.0'
- //implementation 'com.github.bumptech.glide:glide:4.11.0'
- implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
- **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**
|