This message was deleted.
# configuration-cache
s
This message was deleted.
e
I assigned it from the task constructor like
Copy code
taskExt = project.task
However, it is not serialisable
Copy code
cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project'
v
You cannot "call" a task anyway
And no, having a task as input is not CC compatible as you see 🙂
A task as file collection, that would work, to get the implicit task dependency and using the outputs of that task as inputs to your other task.
e
Thank you!
I checked what is it doing and it looks like it downloads file from url. So I dropped that plugin and just wrote the download myself.