JungleConfig is distributed as a standard JAR and declared through the usual Maven or Gradle dependency mechanisms. This page covers everything you need to add it to a new or existing project, whether you pull it from a local Maven repository after building from source or declare it directly in your build file.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/himansaBro/JungleConfig/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
Before adding JungleConfig, confirm your environment meets these prerequisites:- Java 19 or later. The library is compiled with
maven.compiler.sourceandmaven.compiler.targetboth set to19, so a JDK 19+ installation is required. Older JDKs are not supported. - Maven 3.6+ or Gradle 7+. Either build tool works; the dependency coordinates are the same.
- Jackson modules. JungleConfig relies on three Jackson modules for POJO serialisation and Java Time support. They are listed as direct dependencies below. If your project already pulls in a compatible Jackson version transitively, you can omit the explicit declarations — but it is safer to pin them.
Maven
Add the following block inside the<dependencies> section of your pom.xml:
mvn dependency:resolve after saving to verify all artifacts can be downloaded.
Gradle
If you use Gradle with the Kotlin DSL, add the equivalent declarations to thedependencies block in your build.gradle.kts:
"..." string syntax with single-quoted strings and the implementation(...) calls remain identical.
Run ./gradlew dependencies --configuration runtimeClasspath to confirm the dependency tree resolves without conflicts.
All three Jackson modules are required at runtime.
jackson-databind handles POJO and collection serialisation. jackson-datatype-jdk8 adds support for Optional, OptionalInt, and similar JDK 8 container types. jackson-datatype-jsr310 enables native serialisation of LocalDate, LocalDateTime, LocalTime, and the rest of the java.time package.Building from source
If you prefer to build JungleConfig yourself — for example to apply a local patch or to inspect the compiled output — clone the repository and run the Maven package goal:mvn install, the com.codehack:Jconfig:1.0-SNAPSHOT coordinates will resolve from your ~/.m2/repository cache without needing a remote repository.
