mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-17 17:01:05 +02:00
Co-authored-by: Rylie Pavlik <rylie.pavlik@collabora.com> Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com> Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2560>
47 lines
1.4 KiB
Groovy
47 lines
1.4 KiB
Groovy
// Copyright 2020-2022, Collabora, Ltd.
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
// This triggers an error if any individual project tries to add a repo not listed here.
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
|
|
rootProject.name = 'monado'
|
|
|
|
// Typically required by all Monado-based runtimes on AOSP platforms
|
|
include ':src:xrt:auxiliary'
|
|
project(':src:xrt:auxiliary').projectDir = new File(rootDir, 'src/xrt/auxiliary/android')
|
|
|
|
// Only used by Google Cardboard support in the installable Monado
|
|
include ':src:xrt:auxiliary:cardboard'
|
|
project(':src:xrt:auxiliary:cardboard').projectDir = new File(rootDir, 'src/xrt/auxiliary/android_cardboard')
|
|
|
|
// Required for out-of-process builds
|
|
include ':src:xrt:ipc'
|
|
project(':src:xrt:ipc').projectDir = new File(rootDir, 'src/xrt/ipc/android')
|
|
|
|
// Typically required by all Monado-based runtimes on AOSP platforms
|
|
// Use dependency injection to customize
|
|
include ':src:xrt:targets:android_common'
|
|
|
|
// End-level (leaf) target - builds on android_common with dependency injection
|
|
// to make an installable APK providing a runtime with a Cardboard-like experience
|
|
// by default.
|
|
include ':src:xrt:targets:openxr_android'
|