- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for acceptedApiChanges (0.27 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy
import com.google.gson.reflect.TypeToken import org.gradle.util.GradleVersion class AcceptedApiChanges { GradleVersion baseVersion Map<ApiChange, String> acceptedChanges static AcceptedApiChanges parse(List<String> jsonTexts) { def acceptedApiChanges = new AcceptedApiChanges() acceptedApiChanges.acceptedChanges = [:] for (String jsonText : jsonTexts) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 1.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 11 17:15:16 UTC 2024 - 6.5K 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) { Map<String, String> acceptedApiChanges = (Map<String, String>)params.get("acceptedApiChanges") this.acceptedApiChanges = acceptedApiChanges ? AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges) : [:]
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 10.4K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 8.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
// Filtering an array is NOT in place result.acceptedApiChanges = result.acceptedApiChanges.filter((item, pos, ary) => (!pos || (JSON.stringify(item) != JSON.stringify(ary[pos - 1])))); return result; } function acceptAllErrorCorrections() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy
import spock.lang.Specification class AcceptedApiChangesTest extends Specification { def "parses accepted change"() { when: def changes = AcceptedApiChanges.parse([""" { "acceptedApiChanges": [ { "type": "org.gradle.api.initialization.ConfigurableIncludedBuild",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
}?.filterValues { it.acceptedApiChanges != null }?.mapValues { it.value.acceptedApiChanges!! } ?: emptyMap() } private fun File.readAcceptedChanges(): AcceptedApiChanges { val jsonString = this.readText() return Gson().fromJson(jsonString, AcceptedApiChanges::class.java) } /**
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 9.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null } Map getInitializationParams() { return [acceptedApiChanges: [:], publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'], apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path, projectRootDir: testDir.path] }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
import gradlebuild.EnrichedReportRenderer import gradlebuild.basics.GradleModuleApiAttribute import gradlebuild.basics.PublicApi import gradlebuild.basics.PublicKotlinDslApi import gradlebuild.binarycompatibility.AcceptedApiChanges import gradlebuild.binarycompatibility.BinaryCompatibilityHelper import gradlebuild.binarycompatibility.CleanAcceptedApiChanges import gradlebuild.binarycompatibility.transforms.ExplodeZipAndFindJars
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 26 08:15:16 UTC 2024 - 9.1K bytes - Viewed (0)