- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ExtraInfo (0.31 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy
ruleInvoked = true def descriptor = context.getDescriptor(IvyModuleDescriptor) assert descriptor.extraInfo.asMap() == [${declareNS('foo')}: "fooValue", ${declareNS('bar')}: "barValue"] assert descriptor.extraInfo.get('foo') == 'fooValue' assert descriptor.extraInfo.get('${ns('foo').namespace}', 'foo') == 'fooValue' assert descriptor.branch == 'someBranch'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.3K 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/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) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataHandlerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 20.4K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy
info.description[0].@homepage == "http://example.com" } } def "writes supplied extra info elements" () { when: descriptor.extraInfo("http://namespace/foo", "foo", "fooValue") descriptor.extraInfo("http://namespace/bar", "bar", "barValue") then: ivyXml.info."foo".size() == 1 ivyXml.info."foo"[0].namespaceURI() == "http://namespace/foo"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializer.java
writeAttributes(metadata.getAttributes()); } private void writeExtraInfo(Map<NamespaceId, String> extraInfo) throws IOException { writeCount(extraInfo.size()); for (Map.Entry<NamespaceId, String> entry : extraInfo.entrySet()) { NamespaceId namespaceId = entry.getKey(); writeString(namespaceId.getNamespace());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 37.1K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioIncrementalIntegrationTest.groovy
projectFile.withXml { xml -> Node globals = xml.asNode().PropertyGroup.find({it.'@Label' == 'Globals'}) as Node globals.appendNode("ExtraInfo", "Some extra info") globals.appendNode("ProjectName", project.name) } """ run "visualStudio" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisherTest.groovy
"someBranch_ぴ₦ガき∆ç√∫" | "release_ぴ₦ガき∆ç√∫" } def "delegates with valid extra info elements" () { given: def descriptor = ivyDescriptor() elements.each { descriptor.extraInfo(it, it, "${it}Value") } def publication = new IvyNormalizedPublication("pub-name", coordinates, ivyFile(descriptor), emptySet()) when: publisher.publish(publication, repository)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 15K bytes - Viewed (0)