123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apply plugin: 'com.android.library'
- **APPLY_PLUGINS**
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- // 添加你的其他依赖项
- **DEPS**}
- android {
- namespace "com.unity3d.player"
- ndkPath "**NDKPATH**"
- compileSdkVersion **APIVERSION**
- buildToolsVersion '30.0.3'
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- defaultConfig {
- minSdkVersion **MINSDKVERSION**
- targetSdkVersion **TARGETSDKVERSION**
- ndk {
- abiFilters **ABIFILTERS**
- }
- versionCode **VERSIONCODE**
- versionName '**VERSIONNAME**'
- consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
- }
- lintOptions {
- abortOnError false
- }
- aaptOptions {
- // noCompress = ['.unity3d', '.ress', '.resource', '.obb'] + tuanjieStreamingAssets
- noCompress '.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**
- ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
- }**PACKAGING_OPTIONS**
- }
- **IL_CPP_BUILD_SETUP**
- **SOURCE_BUILD_SETUP**
- **EXTERNAL_SOURCES**
|