58 lines
1.5 KiB
Groovy
58 lines
1.5 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation(name: 'rtkdev-debug', ext:'aar')
|
|
implementation(name: 'arcore_client', ext:'aar')
|
|
implementation(name: 'ARPresto', ext:'aar')
|
|
implementation(name: 'rtklib_v1.0.6', ext:'aar')
|
|
implementation(name: 'UnityARCore', ext:'aar')
|
|
implementation(name: 'unityandroidpermissions', ext:'aar')
|
|
implementation(name: 'libqxwz_release_v1.8.0', ext:'aar')
|
|
implementation project('xrmanifest.androidlib')
|
|
|
|
}
|
|
|
|
android {
|
|
namespace "com.unity3d.player"
|
|
ndkPath "C:/Unity Editor/2021.3.45f1c1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK"
|
|
compileSdkVersion 35
|
|
buildToolsVersion '34.0.0'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 29
|
|
targetSdkVersion 35
|
|
ndk {
|
|
abiFilters 'armeabi-v7a'
|
|
}
|
|
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 '*/armeabi-v7a/*.so'
|
|
jniLibs {
|
|
useLegacyPackaging true
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|