42 lines
1.0 KiB
Groovy
42 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
**APPLY_PLUGINS**
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
**DEPS**}
|
|
|
|
android {
|
|
ndkPath "**NDKPATH**"
|
|
|
|
compileSdkVersion **APIVERSION**
|
|
buildToolsVersion '**BUILDTOOLS**'
|
|
|
|
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 = **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**
|