I'm writing a Gradle build script that is to build an Ivy module descriptor. I need a Node
like
<dependency [...] conf="default->foo"/>
I would like to do this:
node.dependencies[0].appendNode("dependency", [
// [...]
conf: "default->${dep.configuration}",
])
where node
is a Node instance and dep.configuration == 'foo'
. But it comes out as
<dependency [...] conf="default->foo"/>
Is there a comfortable way to create a Node without escaping >
s in attribute values?