Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Chen (0.17 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

                timeZone = TimeZone.getTimeZone("UTC")
            }
            val buildTimestampFromProperty = buildTimestampFromGradleProperty.orNull
            val buildTime = when {
                buildTimestampFromProperty != null -> {
                    timestampFormat.parse(buildTimestampFromProperty)
                }
                runningInstallTask.get() || runningDocsTestTask.get() || runningOnCi.get() -> {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val sourceFile: String
            val testSourceFile: String
            val sourceFileTree: String
            val testSourceFileTree: String
            when {
                descriptor.language === Language.CPP -> {
                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    This required the Kotlin DSL to add special integration to work with Groovy closures.
    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    
    When the Kotlin DSL was introduced, we made an effort to add non-Groovy equivalents for all APIs.
    This has been mostly done, but there remain a few hold outs (fixing these are out of scope).
    
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

                        enabled = branch.enableVcsTriggers
                        // https://www.jetbrains.com/help/teamcity/2022.04/configuring-schedule-triggers.html#general-syntax-1
                        // We want it to be triggered only when there're pending changes in the specific vcs root, i.e. GradleMaster/GradleRelease
                        triggerRules = "+:root=${VersionedSettingsBranch.fromDslContext().vcsRootId()}:."
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 2.6K bytes
    - Viewed (1)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def canAddMetaData() {
            TestDomainObject value = new TestDomainObject('a')
    
            when:
            repository.put('class', value)
    
            then:
            repository.find('class') == value
            repository.get('class') == value
        }
    
        def findReturnsNullForUnknownClass() {
            expect:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            resolver("${prefix}TestSrcDistributionPath", "gradle-src-distribution-zip", srcDistribution)
            resolver("${prefix}TestAgentsClasspath", LibraryElements.JAR)
        }
    
        // do not attempt to find projects when the plugin is applied just to generate accessors
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

        taskFilter: (Task) -> Boolean,
        /* pass the collected information in build-logic and main build to build scan */
        buildScanAction: BuildScanConfiguration.(Any, Any) -> Unit
    ) {
        val gradleRootProject = when {
            project.name == "gradle" -> project.rootProject
            project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject
            else -> project.gradle.parent?.rootProject
        }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

                }
                expectTypeArgument = false
            } else {
                this.binaryName = binaryName
            }
        }
    
        private
        fun boundOf(wildcard: Char) =
            when (wildcard) {
                '+' -> Variance.COVARIANT
                '-' -> Variance.CONTRAVARIANT
                else -> Variance.INVARIANT
            }
    }
    
    
    private
    fun binaryNameOfBaseType(descriptor: Char) =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

                    "branch.to.promote",
                    "%branch.qualifier%",
                    label = "Branch to promote",
                    description = "Type in the branch of gradle/gradle you want to promote. Leave the default value when promoting an existing build.",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false
                )
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        }
    
        val versionQualifier = buildVersionQualifier
        val isFinalRelease = finalRelease.isPresent
    
        val buildTimestamp = buildTimestamp()
        val versionNumber = when {
            isFinalRelease -> {
                baseVersion
            }
            rcNumber.isPresent -> {
                "$baseVersion-rc-${rcNumber.get()}"
            }
            milestoneNumber.isPresent -> {
    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)
Back to top