- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for ExtraInfo (0.11 sec)
-
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyModuleDescriptorSpecTest.groovy
} def "can add extra info elements" () { when: spec.extraInfo 'http://some.namespace', 'foo', 'fooValue' then: spec.getExtraInfo().get('foo') == 'fooValue' } def "cannot add extra info elements with null values" () { when: spec.extraInfo namespace, name, 'fooValue' then: def e = thrown(InvalidUserDataException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyDescriptor.groovy
description = ivy.info[0].description[0] licenses = ivy.info[0].license authors = ivy.info[0].ivyauthor extraInfo = [:] ivy.info[0].children().findAll { it.name() instanceof QName }.each { extraInfo[new javax.xml.namespace.QName(it.name().namespaceURI, it.name().localPart)] = it.text() } ivy.configurations.conf.each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultMetadataProviderTest.groovy
def "can provide Ivy descriptor"() { given: def extraInfo = [:] extraInfo.put(new NamespaceId("baz", "foo"), "extraInfoValue") def metaData = Stub(IvyModuleResolveMetadata) metaData.status >> "test" metaData.branch >> "branchValue" metaData.extraAttributes >> ImmutableMap.copyOf(extraInfo) def componentState = Stub(ModuleComponentGraphResolveState)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ivy-publish/customize-identity/kotlin/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 678 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/IvyHttpModule.groovy
} IvyHttpModule withExtraAttributes(Map extraAttributes) { backingModule.withExtraAttributes(extraAttributes) return this } IvyHttpModule withExtraInfo(Map extraInfo) { backingModule.withExtraInfo(extraInfo) return this } IvyHttpModule withBranch(String branch) { backingModule.withBranch(branch) return this }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/tasks/IvyDescriptorFileGenerator.java
.characters(model.description.getText().getOrElse("")) .endElement(); } if (model.extraInfo != null) { for (Map.Entry<QName, String> entry : model.extraInfo.entrySet()) { if (entry.getKey() != null) { xmlWriter.startElement("ns:" + entry.getKey().getLocalPart())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 14.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/documentation/docs/src/snippets/ivy-publish/customize-identity/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 660 bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/DefaultIvyExtraInfoSpec.java
public DefaultIvyExtraInfoSpec() { super(); } @Override public void add(String namespace, String name, String value) { if (XmlValidation.isValidXmlName(name)) { extraInfo.put(new NamespaceId(namespace, name), value); } else { throw new IllegalArgumentException(String.format("Invalid ivy extra info element name: '%s'", name)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy
return this } /** * Keys in extra info will be prefixed with namespace prefix "ns" in this fixture. */ IvyFileModule withExtraInfo(Map extraInfo) { this.extraInfo.putAll(extraInfo) return this } @Override ModuleArtifact getIvy() { return moduleArtifact([name: "ivy", type: "ivy", ext: "xml"], ivyPattern) } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.9K bytes - Viewed (0)