- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 66 for asNode (0.24 sec)
-
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/plugins/IvyPublishPluginTest.groovy
IvyPublicationInternal publication = publishing.publications.ivy when: publication.descriptor { withXml { it.asNode().@foo = "bar" } } then: def transformer = new XmlTransformer() transformer.addAction(publication.descriptor.xmlAction)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/IvyModuleDescriptorSpec.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/IdeaWorkspace.java
* * <pre class='autoTested'> * plugins { * id 'java' * id 'idea' * } * * idea.workspace.iws.withXml { provider -> * provider.asNode().appendNode('gradleRocks', 'true') * } * </pre> */ public abstract class IdeaWorkspace { private XmlFileContentMerger iws; /** * Enables advanced manipulation of the output XML.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/generator/XmlPersistableConfigurationObjectTest.groovy
} def "can add transform Actions"() { object.loadDefaults() def outputFile = tmpDir.file('output.xml') when: object.transformAction({ xmlProvider -> xmlProvider.asNode().attributes().put('some', 'attribute') } as Action<XmlProvider>) and: object.store(outputFile) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/AbstractVisualStudioIntegrationSpec.groovy
relativeToRoot = "." } visualStudioProject.projectFile.withXml { xml -> redirectOutputForAll xml.asNode().PropertyGroup.findAll { it.'@Label' == 'NMakeConfiguration' }, relativeToRoot } } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIdentifierValidationIntegTest.groovy
} publications { maven(MavenPublication) { from components.java pom.withXml { asNode().appendNode('description', '${sq(description)}') } } } } """ when: succeeds 'publish' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishValidationIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/MavenPom.java
* plugins { * id 'maven-publish' * } * * publishing { * publications { * maven(MavenPublication) { * pom.withXml { * asNode().appendNode('properties').appendNode('my-property', 'my-value') * } * } * } * } * </pre> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpFacet.java
* facet name: 'someCoolFacet', version: '1.3' * * file { * //if you want to mess with the resulting XML in whatever way you fancy * withXml { * def node = it.asNode() * node.appendNode('xml', 'is what I love') * } * * //beforeMerged and whenMerged closures are the highest voodoo for the tricky edge cases.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6K bytes - Viewed (0)