Slackbot
02/23/2022, 2:14 PMno
02/28/2022, 8:46 AMDaemonScanInfo dsi = ((GradleInternal) gradle).getServices().get(DaemonScanInfo.class);
=> dsi.getNumberOfBuilds()
note: DaemonScanInfo
is not available on a non daemon build, so you need to do a serviceRegistry#find
before the #get, or protect against the failed lookupGabriel Feo
03/09/2022, 4:41 PM