android: Rename gradle projects.

Apparently in some contexts, only the last component of the name matters,
and it was the same for more than one module.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2243>
This commit is contained in:
Rylie Pavlik 2024-06-07 13:47:30 -05:00 committed by Simon Zeni
parent cead23f5ec
commit 028425be9d
4 changed files with 10 additions and 6 deletions

View file

@ -23,7 +23,11 @@ dependencyResolutionManagement {
rootProject.name = 'monado' rootProject.name = 'monado'
include ':src:xrt:auxiliary:android' include ':src:xrt:auxiliary'
include ':src:xrt:ipc:android' project(':src:xrt:auxiliary').projectDir = new File(rootDir, 'src/xrt/auxiliary/android')
include ':src:xrt:ipc'
project(':src:xrt:ipc').projectDir = new File(rootDir, 'src/xrt/ipc/android')
include ':src:xrt:targets:android_common' include ':src:xrt:targets:android_common'
include ':src:xrt:targets:openxr_android' include ':src:xrt:targets:openxr_android'

View file

@ -60,7 +60,7 @@ android {
} }
dependencies { dependencies {
implementation project(':src:xrt:auxiliary:android') implementation project(':src:xrt:auxiliary')
implementation "androidx.annotation:annotation:$androidxAnnotationVersion" implementation "androidx.annotation:annotation:$androidxAnnotationVersion"
implementation "androidx.core:core-ktx:$androidxCoreVersion" implementation "androidx.core:core-ktx:$androidxCoreVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"

View file

@ -65,7 +65,7 @@ android {
} }
dependencies { dependencies {
implementation project(':src:xrt:auxiliary:android') implementation project(':src:xrt:auxiliary')
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation "androidx.constraintlayout:constraintlayout:$androidxConstraintLayoutVersion" implementation "androidx.constraintlayout:constraintlayout:$androidxConstraintLayoutVersion"

View file

@ -284,8 +284,8 @@ aboutLibraries {
} }
dependencies { dependencies {
outOfProcessImplementation project(':src:xrt:ipc:android') outOfProcessImplementation project(':src:xrt:ipc')
implementation project(':src:xrt:auxiliary:android') implementation project(':src:xrt:auxiliary')
implementation project(':src:xrt:targets:android_common') implementation project(':src:xrt:targets:android_common')
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"