[Gradle][MPP][Minor] KotlinTargetConfigurator: Use Callable instead of lambda
^KT-52726 Verification Pending
This commit is contained in:
committed by
Space
parent
7fae9a1b73
commit
60723bd59f
+4
-4
@@ -138,10 +138,10 @@ abstract class AbstractKotlinTargetConfigurator<KotlinTargetType : KotlinTarget>
|
||||
project.registerTask<DefaultTask>(compilation.compileAllTaskName) {
|
||||
it.group = LifecycleBasePlugin.BUILD_GROUP
|
||||
it.description = "Assembles outputs for compilation '${compilation.name}' of target '${compilation.target.name}'"
|
||||
it.inputs.files({
|
||||
// the task may not be registered at this point, reference it lazily
|
||||
compilation.compileKotlinTaskProvider.map { it.outputs.files }
|
||||
})
|
||||
it.inputs.files(Callable {
|
||||
// the task may not be registered at this point, reference it lazily
|
||||
compilation.compileKotlinTaskProvider.map { it.outputs.files }
|
||||
})
|
||||
|
||||
if (compilation is KotlinJvmCompilation && compilation.target.withJavaEnabled) {
|
||||
it.inputs.files({ compilation.compileJavaTaskProvider?.map { it.outputs.files } })
|
||||
|
||||
Reference in New Issue
Block a user