Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for startswith (0.94 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            val releaseNotesLines: List<String> = releaseNotes.asFile.get().readLines()
            val contributorSectionBeginIndex = releaseNotesLines.indexOfFirst { it.startsWith("We would like to thank the following community members for their contributions to this release of Gradle:") } + 1
    
            if (contributorSectionBeginIndex == 0) {
    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)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        addSetUpAndTearDownActions()
    }
    
    fun executerRequiresDistribution(taskName: String) =
        !taskName.startsWith("embedded") || taskName.contains("CrossVersion") // <- Tooling API [other-version]->[current]
    
    fun executerRequiresFullDistribution(taskName: String) =
        taskName.startsWith("noDaemon")
    
    fun DistributionTest.addSetUpAndTearDownActions() {
        cachesCleaner = cachesCleanerService
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            when:
            sourceFile.text = apiElement.startsWith('enum') ? """
                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        field;
                        void method() { }
                    }
                """
                : apiElement.startsWith('annotation') ? """
                    public @interface $TEST_INTERFACE_SIMPLE_NAME {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            assert linkErrors.exists()
    
            def lines = linkErrors.readLines()
            deadLinks.each { deadLink ->
                String errorStart = "ERROR: ${deadLink.file.name}:"
                assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) }
            }
        }
    
        private void assertFoundDeadSectionLinks(File file, String... sections) {
    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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

                getKotlinScriptClassPathProvider()
                    .compilationClassPathOf(getInputClassLoaderScope())
                    .getAsFiles()
                    .stream()
                    .filter(file -> file.getName().startsWith("gradle-kotlin-dsl-extensions"))
                    .collect(toList())
            );
        }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
                val cacheDirName = cacheDir.name
                if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) {
                    continue
                }
                val dirVersion = cacheDirName.removePrefix(dirPrefix).removeSuffix(dirSuffix)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
                    // We assume that the declaration is not empty.
                    line.startsWith("DEFAULT_JVM_OPTS='") && line.endsWith('\'') -> {
                        ++replacementsCount
                        // Use shell's string concatenation: '...'"..." glues contents of quoted and double-quoted strings together.
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    // pre-test/release/current/bob/bugfix -> release
    // gh-readonly-queue/master/pr-1234-5678abcdef -> master
    fun toMergeQueueBaseBranch(actualBranch: String): String = when {
        actualBranch.startsWith("pre-test/") || actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

                    val protectedBranches = listOf("master", "release")
                    ci && !protectedBranches.contains(branch)
                        && !branch.startsWith("pre-test/")
                        && !branch.startsWith("gh-readonly-queue/")
                }
            ).zip(project.rerunAllTests) { enabled, rerunAllTests ->
                enabled && !rerunAllTests
            }
    
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        protected abstract Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass)
    
        protected boolean isInternal(CtClass c) {
            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
Back to top