From 3ad1136187a3bbc09e5619d71d642552eb0ddce3 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Fri, 20 Jan 2023 15:29:19 -0800 Subject: [PATCH] Remove unused commonArgs function from CompilationTask.kt --- .../io/bazel/kotlin/builder/tasks/jvm/CompilationTask.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/kotlin/io/bazel/kotlin/builder/tasks/jvm/CompilationTask.kt b/src/main/kotlin/io/bazel/kotlin/builder/tasks/jvm/CompilationTask.kt index 8612e06d8..d21805eb2 100644 --- a/src/main/kotlin/io/bazel/kotlin/builder/tasks/jvm/CompilationTask.kt +++ b/src/main/kotlin/io/bazel/kotlin/builder/tasks/jvm/CompilationTask.kt @@ -43,11 +43,6 @@ import java.util.Base64 import java.util.stream.Collectors.toList import java.util.stream.Stream -/** - * Return a list with the common arguments for compilation with code generation. - */ -fun JvmCompilationTask.commonArgs(): CompilationArgs = baseArgs() + codeGenArgs() - fun JvmCompilationTask.codeGenArgs(): CompilationArgs = CompilationArgs() .absolutePaths(info.friendPathsList) { "-Xfriend-paths=${it.joinToString(X_FRIENDS_PATH_SEPARATOR)}"