[Gradle] Rename KotlinNativeCompile.buildKotlinNativeKlibCompilerArgs to buildCompilerArgs

^KT-56210 Verification Pending
This commit is contained in:
Sebastian Sellmair
2023-02-24 16:07:59 +01:00
committed by Space Team
parent 015941b195
commit a692de871b
2 changed files with 3 additions and 3 deletions
@@ -456,7 +456,7 @@ internal constructor(
return SharedCompilationData(manifestFile, isAllowCommonizer, refinesModule)
}
internal fun buildKotlinNativeKlibCompilerArgs(): List<String> = buildKotlinNativeKlibCompilerArgs(
internal fun buildCompilerArgs(): List<String> = buildKotlinNativeKlibCompilerArgs(
outFile = outputFile.get(),
optimized = optimized,
debuggable = debuggable,
@@ -482,7 +482,7 @@ internal constructor(
val output = outputFile.get()
output.parentFile.mkdirs()
val buildArgs = buildKotlinNativeKlibCompilerArgs()
val buildArgs = buildCompilerArgs()
KotlinNativeCompilerRunner(
settings = runnerSettings,
@@ -160,7 +160,7 @@ private fun K2CompileTask.buildCompilerArguments(): CommonCompilerArguments {
if (this is KotlinNativeCompile) {
val arguments = K2NativeCompilerArguments()
val argsList = this.buildKotlinNativeKlibCompilerArgs()
val argsList = this.buildCompilerArgs()
parseCommandLineArguments(argsList, arguments)
return arguments
}