When running the runServer task, it is configured to download a PaperMC (Minecraft) jar, and then will fail as this is obviously not a Paper plugin.
As per the documentation, runServer requires manual configuration before it can be used, but having it default to a jar for a different game is not intuitive.