mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 08:13:44 +02:00
51 lines
1.7 KiB
Groovy
51 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
signingConfigs {
|
|
release {
|
|
storeFile project.hasProperty("HIFI_ANDROID_KEYSTORE") ? file(HIFI_ANDROID_KEYSTORE) : null
|
|
storePassword project.hasProperty("HIFI_ANDROID_KEYSTORE_PASSWORD") ? HIFI_ANDROID_KEYSTORE_PASSWORD : ''
|
|
keyAlias project.hasProperty("HIFI_ANDROID_KEY_ALIAS") ? HIFI_ANDROID_KEY_ALIAS : ''
|
|
keyPassword project.hasProperty("HIFI_ANDROID_KEY_PASSWORD") ? HIFI_ANDROID_KEY_PASSWORD : ''
|
|
}
|
|
}
|
|
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "io.highfidelity.frameplayer"
|
|
minSdkVersion 25
|
|
targetSdkVersion 28
|
|
ndk { abiFilters 'arm64-v8a' }
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments '-DHIFI_ANDROID=1',
|
|
'-DHIFI_ANDROID_APP=questFramePlayer',
|
|
'-DANDROID_TOOLCHAIN=clang',
|
|
'-DANDROID_STL=c++_shared',
|
|
|
|
'-DCMAKE_VERBOSE_MAKEFILE=ON'
|
|
targets = ['questFramePlayer']
|
|
}
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
|
|
externalNativeBuild.cmake.path '../../../CMakeLists.txt'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: '../../libraries/qt/libs')
|
|
implementation project(':oculus')
|
|
implementation project(':qt')
|
|
}
|