Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for acceptedApiChanges (0.07 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

            this.acceptedViolationsDir = acceptedViolationsDir.asFile
        }
    
        Map<String, String> get() {
            if (acceptedViolations == null) {
                acceptedViolations = AcceptedApiChanges.parse(
                    acceptedViolationsDir.listFiles()
                        .findAll { it.name.endsWith(".json") }
                        .collect { it.text }
                ).toAcceptedChangesMap()
            }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  4. 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)
Back to top