- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for elements (0.23 sec)
-
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) -
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) -
.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 01 11:36:15 GMT 2024 - Last Modified: Thu Nov 17 05:17:44 GMT 2022 - 4K bytes - Viewed (0) -
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy
} def "closes implicit <p> element at start of block element"() { expect: parse(source) == transformed where: source | transformed "text<p>para 2</p>" | "<p>text</p><p>para 2</p>" "text<h2>text</h2>" | "<p>text</p><h2>text</h2>" } def "does not add implicit <p> element for elements with inline content"() { expect:
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.5K bytes - Viewed (0) -
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) -
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) -
build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts
attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY)) attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR)) } } tasks.jar.configure { val classpath = manifestClasspath.elements.map { classpathDependency -> classpathDependency.joinToString(" ") { it.asFile.name } }
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Wed Feb 28 23:38:57 GMT 2024 - 2.5K bytes - Viewed (0) -
.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 01 11:36:15 GMT 2024 - Last Modified: Thu Feb 15 17:04:41 GMT 2024 - 8.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
import javax.inject.Inject; import java.io.File; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * Takes a rendered release notes HTML file and decorates it with extra elements/content/links. */ @CacheableTask public abstract class DecorateReleaseNotes extends DefaultTask { /** * The rendered HTML release notes that need decoration. */ @InputFile
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Sep 28 06:35:15 GMT 2021 - 4.1K bytes - Viewed (0)