- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for AcceptedApiChanges (0.2 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
private final Set<ApiChange> acceptedApiChanges; public AcceptedRegressionsRuleSetup(Map<String, Object> params) { AcceptedViolationsProvider acceptedApiChanges = (AcceptedViolationsProvider) params.get("acceptedApiChanges"); if (acceptedApiChanges != null) { this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()).keySet(); } else {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 1.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
private final Map<ApiChange, String> acceptedApiChanges private final File mainApiChangesJsonFile private final File projectRootDir AbstractGradleViolationRule(Map<String, Object> params) { AcceptedViolationsProvider acceptedApiChanges = ((AcceptedViolationsProvider) params.get("acceptedApiChanges")) this.acceptedApiChanges = acceptedApiChanges ? AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()) : [:]Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 10.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt
fun `verify AlphabeticalAcceptedApiChangesTask detects misordered changes`() { //language=JSON firstAcceptedApiChangesFile.writeText( """ { "acceptedApiChanges": [ { "type": "org.gradle.api.tasks.AbstractExecTask", "member": "Method org.gradle.api.tasks.AbstractExecTask.getExecResult()",Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Mar 14 02:17:00 UTC 2025 - 8.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy
richReport.tap { def acceptedChanges = new AcceptedViolationsProvider(acceptedViolationsDir) def ruleParams = [ acceptedApiChanges: acceptedChanges, mainApiChangesJsonFile: mainApiChangesJsonFilePath, projectRootDir: projectRootDirPath ]Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 5.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt
@Test fun `verify misordered changes can be sorted`() { //language=JSON firstAcceptedApiChangesFile.writeText( """ { "acceptedApiChanges": [ { "type": "org.gradle.api.file.SourceDirectorySet", "member": "Method org.gradle.api.file.SourceDirectorySet.getOutputDir()",Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Mar 14 02:17:00 UTC 2025 - 9.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 1.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
@TaskAction fun execute() { val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent(" ")).create() loadChanges().mapValues { gson.toJson(AcceptedApiChanges(sortChanges(it.value))) }.forEach { it.key.bufferedWriter().use { out -> out.write(it.value) out.write("\n") } } }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Apr 09 14:09:16 UTC 2025 - 1.5K bytes - Viewed (0)