- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for AcceptedApiChanges (0.09 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
then: jsonFile.text == nonExistentAcceptedApiChanges() } static String existingAcceptedApiChanges() { """ { "acceptedApiChanges": [ { "type": "org.gradle.api.plugins.quality.Checkstyle", "member": "Method org.gradle.api.plugins.quality.Checkstyle.getInstantiator()",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.5K 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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy
void emptyAcceptedApiChanges(File jsonFile) { jsonFile.withWriter { fileWriter -> def writer = new JsonWriter(fileWriter) writer.setIndent(" ") new Gson().toJson([acceptedApiChanges: []], Object, writer) writer.close() } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
} } private fun formatChanges(changes: List<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. *
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
} BinaryCompatibilityHelper.setupJApiCmpRichReportRules( this, AcceptedApiChanges.parse(listOf("{acceptedApiChanges:[]}")), rootProject.files("$sourceRoots"), "2.0", file("test-api-changes.json"),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0)