Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for ExtraInfo (0.27 sec)

  1. 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)
  2. platforms/documentation/docs/src/snippets/ivy-publish/customize-identity/kotlin/build.gradle.kts

                organisation = "org.gradle.sample"
                module = "project1-sample"
                revision = "1.1"
                descriptor.status = "milestone"
                descriptor.branch = "testing"
                descriptor.extraInfo("http://my.namespace", "myElement", "Some value")
    
                from(components["java"])
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 678 bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishValidationIntegTest.groovy

                            descriptor.branch = '${sq(branch)}'
                            descriptor.status = '${sq(status)}'
                            descriptor.extraInfo 'http://my.extra.info1', 'foo', '${sq(extraValue)}'
                            descriptor.extraInfo 'http://my.extra.info2', 'bar', '${sq(extraValue)}'
                            descriptor.withXml {
                                asNode().info[0].@resolver = '${sq(resolver)}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ivy-publish/customize-identity/groovy/build.gradle

                organisation = 'org.gradle.sample'
                module = 'project1-sample'
                revision = '1.1'
                descriptor.status = 'milestone'
                descriptor.branch = 'testing'
                descriptor.extraInfo 'http://my.namespace', 'myElement', 'Some value'
    
                from components.java
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 660 bytes
    - Viewed (0)
  6. 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)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioFileCustomizationIntegrationTest.groovy

                        globals.appendNode("ExtraInfo", "Some extra info")
                        globals.appendNode("ProjectName", project.name)
                    }
                }
            }
        }
    """
            and:
            run "visualStudio"
    
            then:
            final projectFile = projectFile("mainExe.vcxproj")
            projectFile.globals.ExtraInfo[0].text() == "Some extra info"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyModuleDescriptorConverter.java

        }
    
        @SuppressWarnings("deprecation")
        public Map<NamespaceId, String> extractExtraAttributes(ModuleDescriptor ivyDescriptor) {
            Map<String, String> extraInfo = ivyDescriptor.getExtraInfo();
            return extraInfo.entrySet().stream().collect(
                Collectors.toMap(e -> NamespaceId.decode(e.getKey()), Map.Entry::getValue));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

            String reason = Joiner.on(" and ").join(reasons);
            if (shouldPrintLog(expirationStatus)) {
    
                String when = expirationStatus == GRACEFUL_EXPIRE ? "after the build" : "immediately";
                String extraInfo = expirationStatus == GRACEFUL_EXPIRE
                    ? "The daemon will restart for the next build, which may increase subsequent build times"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (1)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/MetadataDescriptorFactoryTest.groovy

            when:
            def descriptor = factory.createDescriptor(IvyModuleDescriptor)
    
            then:
            descriptor.branch == "branch"
            descriptor.ivyStatus == "status"
            descriptor.extraInfo.asMap() == [(new QName("foo")): "bar"]
        }
    
        def 'exposes pom descriptor if pom metadata present'() {
            given:
            MavenModuleResolveMetadata metadata = Stub()
            metadata.getPackaging() >> "pack"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top