- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for appendReproducibleNewLine (0.23 sec)
-
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
append(parameters.toDeclarationString()) append("): ") append(returnType.toTypeArgumentString()) appendReproducibleNewLine(" =") appendReproducibleNewLine("`$name`(${parameters.toArgumentsString()})".prependIndent()) appendReproducibleNewLine() }.toString() private fun String.appendOrNull(s: String?) = if (s == null) null else "$this$s"
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 20 21:41:53 GMT 2023 - 18.1K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt
) { file.bufferedWriter().use { writer -> writer.appendReproducibleNewLine(fileHeader) pluginIdExtensionDeclarationsFor( gradleJars, pluginDependenciesSpecQualifiedName, pluginDependencySpecQualifiedName ).forEach { extension -> writer.write("\n") writer.appendReproducibleNewLine(extension) } } } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:07 GMT 2023 - 3.1K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt
/** * Appends value to the given Appendable and simple `\n` line separator after it. * * Always using the same line separator on all systems to allow for reproducible outputs. */ fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable { assert('\r' !in value) { "Unexpected line ending in string." } return append(value).append("\n")
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sat Sep 30 16:17:27 GMT 2023 - 1K bytes - Viewed (0)