One example of a property I would like to do this with is the root directory for the WebSphere installation. I would like to expose it as an extension (i.e. was.homeDir) to namespace it a little more. However, I haven’t found a way to override that from gradle.properties. Adding a was.homeDir property there adds it as project.‘was.homeDir’.
The only thing I can think of to get that behavior is scraping the project properties looking for ones starting with “was.” and applying them to the extension object. But that seems kind of gross.
Anything I can do besides leaving them as convention properties?