»cfg4j« is a modern configuration library for distributed apps written in Java.

Release 3.2.0

»cfg4j« 3.2.0 released!

We're proud to announce the 3.2.0 release of »cfg4j«. Learn more about new features in this article.


New features

  • new source backed by regular files (see FilesConfigurationSource)
  • support merge configurations (see MergeConfigurationSource)
  • support fallback to other source when selected source fails (see FallbackConfigurationSource)
  • allow to specify *time unit when constructing PeriodicalRefreshStrategy
  • remove direct dependency on Guava


  • Use provided source environment when calling SimpleConfigurationProvider.getProperty() and SimpleConfigurationProvider.bind() - #64, #62

Interface changes

  • deprecate ConfigurationSource.getConfiguration()

3.2.0 artifacts



dependencies {
  compile group: "org.cfg4j", name:"cfg4j-core", version: "3.2.0"

  // Optional plug-ins

  // Consul integration
  compile group: "org.cfg4j", name:"cfg4j-consul", version: "3.2.0"

  // Git integration
  compile group: "org.cfg4j", name:"cfg4j-git", version: "3.2.0"


  <!-- Optional plug-ins -->
  <!-- Consul integration -->
  <!-- Git integration -->