I registered the batch-job task from https://repo.spring.io/libs-snapshot/io/spring/cloud/batch-job/1.0.0.RELEASE/ in Pivotal Cloud Foundry.
When launching the task I see the error
CF-UnprocessableEntity(10008): Task must have a droplet. Specify droplet or assign current droplet to app.
These are the commands I executed to register this task
app register --name batch-job --type task --uri maven://io.spring.cloud:batch-job:jar:1.0.0.RELEASE
task create myjob --definition batch-job
task list
task launch myjob
task execution list
Appreciate if someone can point what I am i missing.