Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for children (2.08 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        private void wrapContentInContainer(Document document) {
            // Wrap the page in a text container to get the margins
            Elements bodyContent = document.body().children().remove();
            document.body().prepend("<div class='container'/>");
            document.body().children().get(0).html(bodyContent.outerHtml());
        }
    
        private void addTOC(Document document) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                    props.put(propertyDoc.getName(), propertyDoc.forClass(classDoc, additionalValues.values()));
                }
            }
    
            for (Element row : children(classDoc.getPropertiesTable(), "tr")) {
                List<Element> cells = children(row, "td");
                if (cells.size() != header.size()) {
                    throw new RuntimeException(String.format("Expected %s <td> elements in <tr>, found: %s", header.size(), tr));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt

                val actions = readList().uncheckedCast<List<Action<FileCopyDetails>>>()
                val children = readList().uncheckedCast<List<CopySpecInternal>>()
                val copySpec = DefaultCopySpec(fileCollectionFactory, objectFactory, instantiator, patternSetFactory, destPath, sourceFiles, patterns, actions, children)
                copySpec.duplicatesStrategy = duplicatesStrategy
                copySpec.includeEmptyDirs = includeEmptyDirs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractionContext.java

        private final String description;
        private final Action<? super ModelSchema<T>> validator;
        private ModelSchema<T> result;
        private final List<DefaultModelSchemaExtractionContext<?>> children = new ArrayList<>();
        private final FormattingValidationProblemCollector problems;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

            then:
            fixture.assertNoConfigurationCache()
    
            with(expectedProjectModel) {
                it.name == "root"
                it.tasks.size() > 0
                it.children.size() == 1
                it.children[0].children.size() == 1
            }
    
            when: "fetching with Isolated Projects"
            executer.withArguments(ENABLE_CLI)
            def projectModel = fetchModel(GradleProject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

            given:
            def parents = []
            def children = []
    
            when:
            container.add new TypeOf<List<Parent>>() {}, "parents", parents
            container.add new TypeOf<List<Child>>() {}, "children", children
    
            then:
            container.getByType(new TypeOf<List<Parent>>() {}) is parents
            container.getByType(new TypeOf<List<Child>>() {}) is children
        }
    
        def "can get extensions schema"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java

            } else if (segment.contains("*") || segment.contains("?")) {
                PatternStep step = PatternStepFactory.getStep(segment, false);
                File[] children = file.listFiles();
                if (children == null) {
                    if (!file.canRead()) {
                        throw new GradleException(String.format("Could not list contents of directory '%s' as it is not readable.", file));
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ModelSetModelProjectionTest.groovy

            set.containsAll(set as List)
            set.containsAll(set.findAll { it.name == '1' })
            !set.containsAll(["green"])
            !set.containsAll([{} as NamedThing])
        }
    
        def "can configure children"() {
            when:
            mutate {
                afterEach {
                    value += " after"
                }
                create { name = '1' }
                beforeEach {
                    value = "before"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

        for (kid in kidsArray) {
            if (kid == null) break
            kid.print(indent)
            print(kid, "\t$indent")
        }
    }
    
    
    internal
    fun FlyweightCapableTreeStructure<LighterASTNode>.children(
        node: LighterASTNode
    ): List<LighterASTNode> {
        val ref = Ref<Array<LighterASTNode?>>()
        getChildren(node, ref)
        return ref.get()
            .filterNotNull()
            .filter { it.isUseful }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class ModelBuilderSupport {
        protected List<Element> children(Element element, String childName) {
            List<Element> matches = new ArrayList<Element>();
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top