55 lines
1.1 KiB
Groovy
55 lines
1.1 KiB
Groovy
allprojects {
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
}
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
dependencies {
|
|
implementation 'com.google.ar:core:1.22.0'
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation(name: 'VuforiaEngine', ext:'aar')
|
|
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion '30.0.2'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 26
|
|
targetSdkVersion 33
|
|
ndk {
|
|
abiFilters 'arm64-v8a'
|
|
}
|
|
versionCode 1
|
|
versionName '0.1'
|
|
consumerProguardFiles 'proguard-unity.txt'
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
aaptOptions {
|
|
noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}
|
|
|
|
packagingOptions {
|
|
doNotStrip '*/arm64-v8a/*.so'
|
|
}
|
|
}
|
|
|
|
|
|
|