Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for elements (0.36 sec)

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

        private void wrapH2InSectionTopic(Document document) {
            Element heading = document.body().select("h2").first();
    
            List<Element> inSection = new ArrayList<>();
            inSection.add(heading);
    
            Element next = heading.nextElementSibling();
            while (true) {
                if (next == null || next.tagName().equals("h2")) {
                    Element section = heading.before("<section class='topic'/>").previousElementSibling();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. architecture/build-state-model.md

    ## Composition by architecture modules
    
    Each [architecture module and platform](platforms.md) can contribute code to any of the elements.
    Not every module contributes to every element.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            """
    
            when:
            run('checkDeadInternalLinks').buildAndFail()
    
            then:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    }
    tasks.check {
        dependsOn(codeQuality)
    }
    
    val rules by configurations.creating {
        isVisible = false
        isCanBeConsumed = false
    
        attributes {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.RESOURCES))
        }
    }
    
    val groovyVersion = GroovySystem.getVersion()
    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                String url = element.'@url'
                if (url.startsWith('website:')) {
                    url = url.substring(8)
                    url = "${websiteUrl.get()}/${url}"
                    element.setAttribute('url', url)
                }
            }
        }
    
        static def findAll(Document doc, String byName) {
            doc.documentElement.depthFirst().findAll { it.name() == byName }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            List<Element> valueTitles = new ArrayList<Element>();
            for (int i = 1; i < header.size(); i++) {
                Element element = header.get(i);
                Element override = findChild(element, "overrides");
                if (override != null) {
                    element.removeChild(override);
                    inheritedValueTitleMapping.put(override.getTextContent(), element);
                }
                Node firstChild = element.getFirstChild();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            testCoverage: TestCoverage,
            parallelization: (Int) -> ParallelizationMethod
        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
            val resultIncludingDuplicates = splitIntoBuckets(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/bucket-extensions.kt

    import kotlin.math.min
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

        public void push(Element element) {
            stack.getFirst().appendChild(element);
            stack.addFirst(element);
        }
    
        public Element pop() {
            Element element = stack.removeFirst();
            if (emptyPara(element)) {
                element.getParentNode().removeChild(element);
            }
            return element;
        }
    
        private boolean emptyPara(Element element) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
Back to top