File tree 2 files changed +2
-1
lines changed
plugins/license-gather-plugin/src/main/kotlin/com/github/vlsi/gradle/license
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ Change log
191
191
----------
192
192
v1.78
193
193
* chore: bump Gradle 6.7 -> 6.9.1
194
+ * license-gather: ignore xml namespaces when parsing POM files (see #43 )
194
195
195
196
v1.77
196
197
* crlf-plugin: bump jgit to 5.13.0.202109080827-r
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ fun GPathResult.attr(name: String): String = get("@$name").text()
108
108
@Suppress(" UNCHECKED_CAST" )
109
109
fun GPathResult.getList (name : String ) = getProperty(name) as Iterable <GPathResult >
110
110
111
- private fun File.parseXml (): GPathResult = XmlSlurper ().parse(this )
111
+ private fun File.parseXml (): GPathResult = XmlSlurper (false , false ).parse(this )
112
112
113
113
fun GPathResult.parsePom (): PomContents {
114
114
fun GPathResult.parseId (parentGroup : String = "") =
You can’t perform that action at this time.
0 commit comments