applyDefaults
Applies sane defaults to the given application builder. Specifically, this function:
Adds the Tegral Web AppDefaults feature (AppDefaultsFeature)
Sets TegralConfigurationContainer as the configuration class (i.e. your configuration files will be parsed into a TegralConfigurationContainer instance)
Adds the classpath resources
/tegral.toml
,/tegral.yaml
and/tegral.json
as configuration sources (if present).
This function is called automatically by tegral, you should not need to call it again.