Nico Wickersheim
12/15/2022, 8:32 AMRob Elliot
12/15/2022, 9:33 AMVampire
12/15/2022, 9:33 AMapplication
plugin, you would call the installDist
task, or rather depend on it from the stage
task that Heroku is calling.Rob Elliot
12/15/2022, 9:35 AMtasks {
create("stage").dependsOn("installDist")
}
Heroku will check out your code and run gradle stage
when you push to heroku, and that will create the build/install
directory on Heroku's side. You should not commit build
or anything in it to source control.Vampire
12/15/2022, 9:36 AMbuild/install/
actually
And you should never use tasks.create
but always tasks.register
due to task configuration avoidance, those instructions are simply bad.Rob Elliot
12/15/2022, 9:37 AMNico Wickersheim
12/15/2022, 9:52 AM