- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for ranges (0.19 sec)
-
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()
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* to quickly open the changes file. By then we can also regex that path out of the description * in order to create a changes {@link File} for further use in this class. * * @param data the report data containing a description to parse * @return accepted api changes reported upon, as a file */
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 7.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
} Violation acceptOrReject(JApiCompatibility member, Violation rejection) { List<String> changes = member.compatibilityChanges.collect { Violation.describe(it) } return acceptOrReject(member, changes, rejection) } Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) { Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.userData["seenApiChanges"]
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 10.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChange.groovy
import groovy.transform.ToString @Immutable @ToString class AcceptedApiChange { String type String member String acceptation List<String> changes ApiChange toApiChange() { return new ApiChange(type, member, changes ?: []) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 952 bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
if (operatorChanged || infixChanged) { List<String> changes = [] if (operatorChanged) { changes.add(modifierChangeDetail("operator", newIsOperator)) } if (infixChanged) { changes.add(modifierChangeDetail("infix", newIsInfix)) } return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change")) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1023 bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
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(" "))) } if (!warnings.isEmpty()) { return Violation.warning(member, warnings.join(" ")) } return null }
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) -
.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 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0) -
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
if (newInterfaces.isEmpty()) { return null } List<String> changes = filterChangesToReport(newClass, newInterfaces) if (changes.isEmpty()) { return null } return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces")) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Viewed (0)