diff --git a/plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license/PomLicenseLoader.kt b/plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license/PomLicenseLoader.kt index 9108a1d..800c9cd 100644 --- a/plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license/PomLicenseLoader.kt +++ b/plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license/PomLicenseLoader.kt @@ -108,7 +108,7 @@ fun GPathResult.attr(name: String): String = get("@$name").text() @Suppress("UNCHECKED_CAST") fun GPathResult.getList(name: String) = getProperty(name) as Iterable -private fun File.parseXml(): GPathResult = XmlSlurper().parse(this) +private fun File.parseXml(): GPathResult = XmlSlurper(false, false).parse(this) fun GPathResult.parsePom(): PomContents { fun GPathResult.parseId(parentGroup: String = "") =