Fix bug with build types implementation that meant specified project properties were only created, not set with the appropriate value.
Avoid using the 'groovy' configuration to avoid a deprecation warning.