- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Writer (0.28 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
private static String prettyPrintJson(def acceptanceJson) { def stringWriter = new StringWriter() new JsonWriter(stringWriter).withCloseable { writer -> writer.setIndent(" ") new Gson().toJson(acceptanceJson, AcceptedApiChange, writer) } return stringWriter.toString() } String getCurrentVersion() { return context.getUserData().get("currentVersion")
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 10.4K 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() } }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1K bytes - Viewed (0)