I don’t seem to have access the project object to call getLogger(). I could a java util logger which gradle seems to accept log lines from, what’s gradle mechanism here for printing a warning in a RuleSource initialization? Is there some way to inject it into a method like?
@Defaults
public void setDefaults(Logger logger) {
logger.warn("hi")
}