Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for changed (0.14 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                } else if (oldNullability && !newNullability) {
                    warnings << "Return nullability changed from nullable to non-nullable"
                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

            }
            return acceptedApiChanges
        }
    
        Map<String, String> toAcceptedChangesMap() {
            acceptedChanges.collectEntries { change ->
                [(new Gson().toJson(change.key)): change.value]
            }
        }
    
        static Map<ApiChange, String> fromAcceptedChangesMap(Map<String, String> acceptedChanges) {
            acceptedChanges.collectEntries { key, value ->
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

            change.member == "Implemented interface org.gradle.api.initialization.IncludedBuild"
            change.changes == ["Interface has been removed"]
            acceptedChange.value == "@Incubating interface has been removed"
        }
    
        def "parses more than one change"() {
            when:
            def changes = AcceptedApiChanges.parse("""
                {
                    "acceptedApiChanges": [
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

                          'incubating': incubatingInterface]
        }
    
        def "#member change should not be reported"() {
            expect:
            noViolation(rule)
    
            where:
            member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)]
        }
    
        def "nothing should be reported if no changes"() {
            expect:
            noViolation(rule)
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    /**
     * A task used for cleaning up all accepted API changes. The functionality is called whenever the release process initiates "branching".
     */
    @DisableCachingByDefault(because = "Not worth caching")
    class CleanAcceptedApiChanges extends DefaultTask {
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy

    @Immutable
    class ApiChange {
        String type
        String member
        List<String> changes
    
        static ApiChange parse(Object json) {
            new ApiChange(json.type, json.member, json.changes ?: [])
        }
    
        String toString() {
            def formattedMember = member - "$type."
            "$type - $formattedMember - $changes"
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1023 bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

     *
     * When merging `releaseX` branch into `master`, we should only use the release note from the `master` branch,
     * but sometimes changes on release notes.md was brought to master and merged unnoticed,
     * e.g https://github.com/gradle/gradle/pull/25825
     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
    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. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        Map getInitializationParams() {
            return [acceptedApiChanges: [:],
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path]
        }
    
        String replaceAsInternal(String name) {
            return name.replace('gradlebuild', 'gradlebuild.internal')
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
Back to top