diff --git a/src/xrt/targets/openxr_android/build.gradle b/src/xrt/targets/openxr_android/build.gradle
index ec7845083..ff89af064 100644
--- a/src/xrt/targets/openxr_android/build.gradle
+++ b/src/xrt/targets/openxr_android/build.gradle
@@ -1,3 +1,5 @@
+import groovy.xml.XmlUtil
+
// Copyright 2020, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
@@ -39,7 +41,7 @@ project.ext.filterLicense = { String line ->
if (line.trim().isEmpty()) {
return '
'
} else {
- return groovy.xml.XmlUtil.escapeXml(line)
+ return XmlUtil.escapeXml(line)
}
}