- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fileHeaderFor (0.16 sec)
-
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt
* limitations under the License. */ package org.gradle.kotlin.dsl.internal.sharedruntime.codegen val fileHeader: String get() = fileHeaderFor(kotlinDslPackageName) fun fileHeaderFor(packageName: String, isIncubating: Boolean = false) = """$licenseHeader @file:Suppress( "unused", "nothing_to_inline", "useless_cast", "unchecked_cast",
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:08 GMT 2023 - 2K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
private fun writeExtensionsTo(outputFile: File, packageName: String, targetType: ApiType, extensions: List<KotlinExtensionFunction>): Unit = outputFile.bufferedWriter().use { writer -> writer.write(fileHeaderFor(packageName, isIncubatingFileClass(targetType, extensions))) writer.write("\n") extensions.forEach { writer.write("\n${it.toKotlinString()}") } } /**
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)