Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for same (0.14 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.api.Project
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 933 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

        get() = settingsRoot.id.toString().substringAfter("Gradle")
    
    data class VersionedSettingsBranch(val branchName: String) {
        /**
         * 0~23.
         * To avoid nightly promotion jobs running at the same time,
         * we run each branch on different hours.
         * master - 0:00
         * release - 1:00
         * release6x - 2:00
         * release7x - 3:00
         * ...
         * releaseNx - (N-4):00
         */
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/CheckProject.kt

            // Disallow Web UI changes to TeamCity settings
            param("teamcity.ui.settings.readOnly", "true")
            // Avoid rebuilding same revision if it's already built on another branch
            param("teamcity.vcsTrigger.runBuildOnSameRevisionInEveryBranch", "false")
            param("env.DEVELOCITY_ACCESS_KEY", "%ge.gradle.org.access.key%;%ge-td-dogfooding.grdev.net.access.key%")
    
            text(
                "additional.gradle.parameters",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
     * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected,
     *          since this whole object is kept in the classloader between builds.
     *          Anything that changes must be in a val with a get() method that recomputes the value each time.
    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)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                        from(report)
                        into(rootBuildDir)
                        rename { "report$projectPathName-${report.parentFile.name}-${report.name}" }
                    }
                }
        }
    
        /**
         * Zip a list of files with same root directory to a zip file.
         *
         * @param destZip the target zip file
         * @param srcFiles the mapping of relative path to the file
         */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/extensions.kt

        doesNotContain("teamcity.agent.name", "EC2")
    }
    
    /**
     * We have some "shared" host where a Linux build agent and a Windows build agent
     * both run on the same bare metal. Some builds require exclusive access to the
     * hardware resources (e.g. performance test).
     */
    fun Requirements.requiresNotSharedHost() {
        doesNotContain("agent.host.type", "shared")
    }
    
    /**
     * This is an undocumented location that forbids anonymous access.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.buildBranch: Provider<String>
        get() = environmentVariable(BUILD_BRANCH).orElse(currentGitBranchViaFileSystemQuery())
    
    
    /**
     * The logical branch.
     * For non-merge-queue branches this is the same as {@link #buildBranch}.
     * For merge-queue branches, this is the base branch.
     *
     * For example, for the merge queue branch "gh-readonly-queue/master/pr-12345-1a2b3c4d" the logical branch is "master".
     */
    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)
  8. .teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt

                // https://blog.jetbrains.com/teamcity/2013/05/explaining-the-shared-resources-plugin/
                // we only allow 1 promotion job running at the same time to avoid website xml conflicts
                feature {
                    type = "JetBrains.SharedResources"
                    param("locks-param", "WebsiteReleasesXml writeLock")
                }
            }
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            (buildRcNumber.isPresent && buildMilestoneNumber.isPresent)
        ) {
            throw InvalidUserDataException("Cannot set any combination of milestoneNumber, rcNumber and finalRelease at the same time")
        }
    
        val versionQualifier = buildVersionQualifier
        val isFinalRelease = finalRelease.isPresent
    
        val buildTimestamp = buildTimestamp()
        val versionNumber = when {
            isFinalRelease -> {
    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)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    
    /**
     * Appends value to the given Appendable and simple `\n` line separator after it.
     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
            "Unexpected line ending in string."
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1K bytes
    - Viewed (0)
Back to top