Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for trim (0.17 sec)

  1. .editorconfig

    indent_style = space
    indent_size = 4
    
    # We recommend you to keep these unchanged
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    # Markdown files sometimes need trailing whitespaces.
    [*.md]
    trim_trailing_whitespace = false
    
    [*.{yml,yaml}]
    indent_size = 2
    
    [gradle/verification-metadata.xml]
    indent_size = 3
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 02 11:48:19 GMT 2023
    - 643 bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                mergeBlock(tr, project)
            }
        }
    
        def mergeBlock(Element tr, gradlebuild.docs.dsl.docbook.model.ClassDoc project) {
            String blockName = tr.td[0].text().trim()
            gradlebuild.docs.dsl.docbook.model.BlockDoc blockDoc = project.getBlock(blockName)
            tr.children = {
                td { link(linkend: blockDoc.id) { literal("$blockName { }")} }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getMilestone().convention(project.getProviders().fileContents(project.getRootProject().getLayout().getProjectDirectory().file("version.txt")).getAsText().map(String::trim));
            });
    
            Configuration jquery = project.getConfigurations().create("jquery", conf -> {
                conf.setDescription("JQuery dependencies embedded by release notes.");
            });
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 10 11:32:18 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } }
            def propertiesTable = withCategories { propertiesSection ? propertiesSection.table[0] : parse('<table/>')}
            def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): String =
        providers.fileContents(repoRoot().file(path)).asText.get().trim()
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                if (file.extension == "groovy" || file.extension == "java") {
                    val originalText = file.readText()
                    val text = originalText.lineSequence()
                        .filterNot { it.trim().startsWith("//") }
                        .joinToString("\n")
                    if (text.contains(content) && exceptions.all { !text.contains(it) }) {
                        println("Found suspicious test file: $file")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
        @groovy.transform.ToString
        static class ExecResult {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        @Internal
        protected
        fun getContributorsInReleaseNotes(): Set<GitHubUser> {
            val (_, contributorLines, _) = parseReleaseNotes()
            return contributorLines
                .map { it.trim() }
                .filter { it.isNotEmpty() }
                .onEach { if (!contributorLineRegex.containsMatchIn(it)) throw IllegalStateException("Invalid contributor line: $it") }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon May 16 05:03:11 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

         *
         * <p>Visible for testing.</p>
         */
        class Implementation(private val excludes: List<String>) {
            fun collectPackages(files: Iterable<Path>): Trie {
                val builder = Trie.Builder()
                for (file in files) {
                    if (Files.exists(file)) {
                        if (file.fileName.toString().endsWith(".jar")) {
                            processJarFile(file, builder)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                    throw new RuntimeException(String.format("Expected %s <td> elements in <tr>, found: %s", header.size(), tr));
                }
                String propName = cells.get(0).getTextContent().trim();
                PropertyMetaData property = classDoc.getClassMetaData().findProperty(propName);
                if (property == null) {
    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)
Back to top