Skip to content

Commit 8bfb4c0

Browse files
committed
Fixes #43
1 parent b02b17d commit 8bfb4c0

File tree

1 file changed

+1
-1
lines changed
  • plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license

1 file changed

+1
-1
lines changed

plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license/PomLicenseLoader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fun GPathResult.attr(name: String): String = get("@$name").text()
108108
@Suppress("UNCHECKED_CAST")
109109
fun GPathResult.getList(name: String) = getProperty(name) as Iterable<GPathResult>
110110

111-
private fun File.parseXml(): GPathResult = XmlSlurper().parse(this)
111+
private fun File.parseXml(): GPathResult = XmlSlurper(false, false).parse(this)
112112

113113
fun GPathResult.parsePom(): PomContents {
114114
fun GPathResult.parseId(parentGroup: String = "") =

0 commit comments

Comments
 (0)