The open source OpenXR runtime

gradle: Apply suggestion from android studio

+1 -1
+1 -1
src/xrt/targets/openxr_android/build.gradle
··· 24 24 def parseOpenXRVersion(def fn) { 25 25 def matches = file(fn).readLines().find { 26 26 it.contains('XR_CURRENT_API_VERSION') 27 - } =~ ~/XR_MAKE_VERSION\(([^\)]+)\)/ 27 + } =~ ~/XR_MAKE_VERSION\(([^)]+)\)/ 28 28 def components = matches[0][1].split(',').each { it.replace(' ', '').trim() } 29 29 String.join('.', components) 30 30 }