Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for Chen (0.12 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

        def "is deprecated when @Deprecated annotation is attached to class"() {
            def notDeprecated = new ClassMetaData("SomeClass")
            def deprecated = new ClassMetaData("SomeClass")
            deprecated.addAnnotationTypeName(Deprecated.class.name)
    
            expect:
            !notDeprecated.deprecated
            deprecated.deprecated
        }
    
        def "is incubating when @Incubating annotation is attached to class"() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt

        override fun getDisplayName(): String =
            "the build timestamp extracted from the build receipt".let {
                when {
                    parameters.ignoreIncomingBuildReceipt.get() -> "$it (ignored)"
                    else -> it
                }
            }
    
        private
        fun Parameters.buildReceiptString(): String? = when {
            ignoreIncomingBuildReceipt.get() -> null
            else -> buildReceiptFileContents.orNull
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

    import gradlebuild.testcleanup.extension.TestFileCleanUpExtension
    import gradlebuild.testcleanup.extension.TestFilesCleanupBuildServiceRootExtension
    import gradlebuild.testcleanup.extension.TestFilesCleanupProjectState
    
    /**
     * When run from a Continuous Integration environment, we only want to archive a subset of reports, mostly for
     * failing tasks only, to not use up unnecessary disk space on Team City. This also improves the performance of
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

            globalExtension.taskPathToReports = taskPathToReports
        }
    }
    
    fun Task.customReports(): List<File> = when (this) {
        is ValidatePlugins -> listOf(outputFile.get().asFile)
        is FindBrokenInternalLinks -> listOf(reportFile.get().asFile)
        is DistributionTest -> listOf(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jan 20 15:24:41 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            sources.close()
    
        override fun close() =
            emptyCaches()
    
        fun isOverride(method: JApiMethod): Boolean =
            apiSourceFileFor(method).let { apiSourceFile ->
                when (apiSourceFile) {
                    is ApiSourceFile.Java -> sources.executeQuery(apiSourceFile, JavaSourceQueries.isOverrideMethod(method))
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.8K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        /**
         * Determines if the class is an integration test. It's a bit weak, but we cannot
         * rely on the class node analysis since it doesn't give the right superclass because
         * resolution is not complete when this visitor is executed.
         */
        private
        fun isIntegrationTest(current: ClassNode) = current.name.endsWith("Test")
            || current.name.endsWith("Spec")
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  7. 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 holdouts (fixing these is out of scope).
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. architecture/standards/0002-avoid-using-java-serialization.md

    For internal purposes, we use binary formats for their brevity.
    We use the `Serializer` abstraction to separate the actual implementation of serialization from its uses.
    
    When sharing data with external tools, we use JSON.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * The configuration cache serialization infrastructure should be used for all serialization.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

    val testFixturesApiElements by configurations
    
    // Required due to: https://github.com/gradle/gradle/issues/13278
    testFixturesRuntimeElements.extendsFrom(testFixturesRuntimeOnly)
    
    // 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
    - 3.3K bytes
    - Viewed (0)
  10. architecture/standards/0001-use-architectural-decision-records.md

    We use *Specification* and *Discovery* documents stored in Google Drive, but they present some downsides:
    
    * They are rarely updated after creation and initial review, and then become hard to follow, especially after important decisions are made
    * They are not synced with the code to reflect the eventual solution that is committed
    * Google Docs is not a "code-oriented" tool, like asciidoc can be
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Mar 02 21:54:40 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top