useConfigurationClass

open override fun <T : RootConfig> useConfigurationClass(configClass: KClass<T>, configuration: ConfigLoaderBuilder.() -> Unit)

Sets the class to use for loading the configuration classes and optionally applies custom logic to the Hoplite ConfigLoaderBuilder instance.

This class must be a data class that implements RootConfig.

By default, applyDefaults will set this to be TegralConfigurationContainer, which only contains a single tegral: TegralConfig property.