Get the latest version of fixedformat4j
fixedformat4j 1.7.1 is published to Maven Central.
Requirements
- Java 11 or later — Java 8 is no longer supported as of version 1.4.0.
Add the dependency
Maven Central is the default repository for all three build tools below — no extra repository configuration or authentication is needed.
The artifact is also browsable at central.sonatype.com.
Maven
Add to your pom.xml:
<dependency>
<groupId>com.ancientprogramming.fixedformat4j</groupId>
<artifactId>fixedformat4j</artifactId>
<version>1.7.1</version>
</dependency>
Gradle
Groovy DSL (build.gradle):
implementation 'com.ancientprogramming.fixedformat4j:fixedformat4j:1.7.1'
Kotlin DSL (build.gradle.kts):
implementation("com.ancientprogramming.fixedformat4j:fixedformat4j:1.7.1")
Ivy
Add to your ivy.xml dependencies block:
<dependency org="com.ancientprogramming.fixedformat4j"
name="fixedformat4j"
rev="1.7.1"/>
Logging
fixedformat4j uses SLF4J for logging. SLF4J is a logging facade — you must provide a binding on the classpath to route log output to your preferred logging framework (e.g. Logback, Log4j 2, or slf4j-simple).
Example with Logback:
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.18</version>
</dependency>
If no binding is found, SLF4J will print a one-time warning and silently discard all log output — the library will still function correctly.