Slackbot
06/22/2022, 7:41 PMVampire
06/22/2022, 8:41 PMdoLast is doLast(Action<? super Task> action), so make your dedicated class implement Action<? super Task> and then you can give an instance of it to doLast.Matthieu Ghilain
06/23/2022, 5:51 AMMatthieu Ghilain
06/23/2022, 5:52 AMMatthieu Ghilain
06/23/2022, 5:56 AMMatthieu Ghilain
06/23/2022, 5:56 AMproject.objects.newInstanceMatthieu Ghilain
06/23/2022, 5:56 AMVampire
06/23/2022, 1:30 PMobjects.newInstance, then you can just inject all available Gradle services, yes.