Revert "[Gradle] Make target lifecycle task depend on classes compilation outputs"
This reverts commit 564e3b064a.
This commit is contained in:
+2
-1
@@ -151,10 +151,11 @@ abstract class AbstractKotlinTargetConfigurator<KotlinTargetType : KotlinTarget>
|
|||||||
it.description = "Assembles outputs for compilation '${compilation.name}' of target '${compilation.target.name}'"
|
it.description = "Assembles outputs for compilation '${compilation.name}' of target '${compilation.target.name}'"
|
||||||
it.inputs.files(project.provider {
|
it.inputs.files(project.provider {
|
||||||
// the task may not be registered at this point, reference it lazily
|
// the task may not be registered at this point, reference it lazily
|
||||||
compilation.output.classesDirs
|
compilation.compileKotlinTaskProvider.map { it.outputs.files }
|
||||||
})
|
})
|
||||||
it.inputs.files(compilation.output.resourcesDirProvider)
|
it.inputs.files(compilation.output.resourcesDirProvider)
|
||||||
}
|
}
|
||||||
|
compilation.output.classesDirs.from(project.files().builtBy(compilation.compileAllTaskName))
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun defineConfigurationsForTarget(target: KotlinTargetType) {
|
override fun defineConfigurationsForTarget(target: KotlinTargetType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user