Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for given (0.17 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
            def rule = withContext(new IncubatingMissingRule([:]))
            def annotations = []
            jApiType.annotations >> annotations
    
            when:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    
            when:
    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)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

    class UserGuideTransformTaskTest extends Specification {
    
        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test    test    test"
        }
    
        def usesUnixLineEndings() {
            given:
            String content = "test\r\ntest\r\ntest"
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Tue Jul 27 19:28:51 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        def "can clean non-existing API changes"() {
            given:
            jsonFile << nonExistentAcceptedApiChanges()
    
            when:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

    import org.gradle.api.tasks.InputFile
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    
    
    /**
     * Abstract base class for [Task][org.gradle.api.Task]s that verify and manipulate the given accepted API changes file.
     */
    @CacheableTask
    abstract class AbstractAcceptedApiChangesMaintenanceTask : DefaultTask() {
        @get:InputFile
        @get:PathSensitive(PathSensitivity.NONE)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. .cm/plugins/filters/isEnabledAutomation/index.js

    enabled.set('estimated_time_to_review', ['always']);
    enabled.set('misc_labels', ['always']);
    enabled.set('platform_labels', ['always']);
    
    /**
     * @module isEnabledAutomation
     * @description Returns true if the given automation should run against the given PR.
     *
     * This is determined by checking if any of the following conditions are met:
     *
     * <ul>
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. architecture/build-state-model.md

    When that directory changes between Gradle invocations, the state is discarded and recreated.
    Typically, the Gradle user home directory does not change for a given process, so this is effectively process state.
    
    The build process state is managed by the `BuildProcessState` class. An instance is created once for a given process.
    
    ### Build session state
    
    A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.GradleException
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes file
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

    import org.gradle.process.internal.JavaExecHandleFactory;
    import org.gradle.work.DisableCachingByDefault;
    
    import javax.inject.Inject;
    import java.util.Arrays;
    
    /**
     * Serves the given directory with a simple HTTP server.
     */
    @DisableCachingByDefault(because = "This task starts a HTTP server and should not be cached.")
    public abstract class ServeDocs extends DefaultTask {
        @InputFiles
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. .github/workflows/CheckBadMerge.groovy

            } else {
                println("$commit is not a merge commit we're looking for. Parents: $parentCommits, p1Branches: $p1Branches, p2Branches: $p2Branches")
            }
        }
    
        /**
         * Check if the given file is "bad": we should only use the release note from the master branch.
         * This means that every line in the merge commit version should be either:
         * - Only exists on `master`.
         * - Exists on `master` and `releaseX`.
    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)
Back to top