Set properties from settings plug-in instead of gradle.properties

I’m building a configuration plug-in to apply standardized Gradle configuration across various projects. The plug-in I’ve written is both a settings plug-in as well as a project plug-in.

One of things it does during the settings phase is configure the build cache correctly. However, so far I have not been able to enable build cache by default with the plug-in. It is always necessary that I specify org.gradle.caching=true in gradle.properties. Is there a way to get my plug-in to set this by default?