- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for acceptedApiChanges (0.23 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
protected fun loadChanges(): List<AcceptedApiChange> { val jsonString = apiChangesFile.get().asFile.readText() val json = Gson().fromJson(jsonString, AcceptedApiChanges::class.java) return json.acceptedApiChanges!! } /** * Sorts the given list of [AcceptedApiChange]s by type and member. * <p>
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 2.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt
@Test fun `verify misordered changes can be sorted`() { //language=JSON acceptedApiChangesFile.writeText( """ { "acceptedApiChanges": [ { "type": "org.gradle.api.file.SourceDirectorySet", "member": "Method org.gradle.api.file.SourceDirectorySet.getOutputDir()",
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 7.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
private fun formatChanges(changes: List<AbstractAcceptedApiChangesMaintenanceTask.AcceptedApiChange>): String { val gson: Gson = GsonBuilder().setPrettyPrinting().create() val initialString = gson.toJson(AcceptedApiChanges(changes)) return adjustIndentation(initialString) + "\n" } /** * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation. *
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 2.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
} BinaryCompatibilityHelper.setupJApiCmpRichReportRules( this, AcceptedApiChanges.parse("{acceptedApiChanges:[]}"), rootProject.files("$sourceRoots"), "2.0", file("test-api-changes.json"),
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Sep 25 13:49:37 GMT 2023 - 16.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt
@Test fun `verify AlphabeticalAcceptedApiChangesTask detects misordered changes`() { //language=JSON acceptedApiChangesFile.writeText( """ { "acceptedApiChanges": [ { "type": "org.gradle.api.tasks.AbstractExecTask", "member": "Method org.gradle.api.tasks.AbstractExecTask.getExecResult()",
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 6K 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
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 11 12:20:44 GMT 2024 - 8.6K bytes - Viewed (0)