Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for startsWith (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                String anchor = h23element.attr("id");
                if(!name.startsWith("Table") && tag.equals("h2")){
                    System.out.println(tag + name + anchor);
                    toc.append("<li class=\"mainTopic\"><a/></li>").children().last().select("a").first().text(name).attr("href", "#" + anchor);
                } else if(!name.startsWith("Table") && tag.equals("h3")){
                    System.out.println(tag + name + anchor);
    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)
  5. 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 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  6. 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 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

            List<String> p2Branches = branchesOf(parentCommits[1])
    
            if (p1Branches.contains("origin/master") && !p2Branches.contains("origin/master") && p2Branches.any { it.startsWith("origin/release") }) {
                List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) }
                if (!badFiles.isEmpty()) {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            assertEquals(1, steps.size)
    
            val step = gradleStep(steps, 0)
            step.assertTasks("clean promoteStartReleaseCycle")
            assertTrue(step.gradleParams!!.startsWith("""-PconfirmationCode=startCycle -PtestRun=1"""))
        }
    
        @Test
        fun `nightly promotion from quick feedback build type runs three gradle invocations`() {
            val model = setupModelFor("release")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 14:18:23 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean {
        val ktTypeAsText = ktTypeReference.text
        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    fun Task.isClasspathManifest() = this.javaClass.simpleName.startsWith("ClasspathManifest")
    
    // https://youtrack.jetbrains.com/issue/KT-49915
    fun Task.isKotlinJsIrLink() = this.javaClass.simpleName.startsWith("KotlinJsIrLink")
    
    fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top