- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for fromAcceptedChangesMap (0.1 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy
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 -> [(new Gson().fromJson(key, ApiChange)): value] } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 1.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
AcceptedViolationsProvider acceptedApiChanges = (AcceptedViolationsProvider) params.get("acceptedApiChanges"); if (acceptedApiChanges != null) { this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()).keySet(); } else { this.acceptedApiChanges = Collections.emptySet(); } } @Override @SuppressWarnings("unchecked")
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
AcceptedViolationsProvider acceptedApiChanges = ((AcceptedViolationsProvider) params.get("acceptedApiChanges")) this.acceptedApiChanges = acceptedApiChanges ? AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()) : [:] // Tests will not supply these this.mainApiChangesJsonFile = params.get("mainApiChangesJsonFile") ? new File(params.get("mainApiChangesJsonFile") as String) : null
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 10.5K bytes - Viewed (0)