You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
Groovy
53 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
**APPLY_PLUGINS**
|
|
|
|
ext {
|
|
compileSdk = 35
|
|
targetSdk = 35
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
|
|
**DEPS**
|
|
}
|
|
|
|
|
|
android {
|
|
namespace "com.unity3d.player"
|
|
ndkPath "**NDKPATH**"
|
|
compileSdkVersion rootProject.ext.has("compileSdk") ? rootProject.ext.compileSdk : **APIVERSION**
|
|
buildToolsVersion '**BUILDTOOLS**'
|
|
|
|
compileOptions {
|
|
coreLibraryDesugaringEnabled true
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion **MINSDKVERSION**
|
|
targetSdkVersion rootProject.ext.has("targetSdk") ? rootProject.ext.targetSdk : 35
|
|
ndk {
|
|
abiFilters **ABIFILTERS**
|
|
}
|
|
versionCode **VERSIONCODE**
|
|
versionName '**VERSIONNAME**'
|
|
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}**PACKAGING_OPTIONS**
|
|
}
|
|
|
|
**IL_CPP_BUILD_SETUP**
|
|
**SOURCE_BUILD_SETUP**
|
|
**EXTERNAL_SOURCES**
|