[Gradle] Remove unused method

^KT-63419 In Progress
This commit is contained in:
Yahor Berdnikau
2024-02-23 12:47:56 +01:00
committed by Space Team
parent beb40484dd
commit 0986733f29
@@ -24,13 +24,6 @@ internal fun KotlinCompilation<*>.isMain(): Boolean =
internal fun KotlinCompilation<*>.isTest(): Boolean =
name == KotlinCompilation.TEST_COMPILATION_NAME
internal fun addCommonSourcesToKotlinCompileTask(
project: Project,
taskName: String,
sourceFileExtensions: Iterable<String>,
sources: () -> Any
) = addSourcesToKotlinCompileTask(project, taskName, sourceFileExtensions, lazyOf(true), sources)
// FIXME this function dangerously ignores an incorrect type of the task (e.g. if the actual task is a K/N one); consider reporting a failure
internal fun addSourcesToKotlinCompileTask(
project: Project,