TUI4J requires Java 21 or later. Make sure your toolchain is configured accordingly.
Add the dependency
Use a snapshot build
Snapshot builds are published to the Sonatype snapshot repository and track the latest development work. You need to add the repository before declaring the dependency.1
Add the snapshot repository
2
Declare the snapshot dependency
What gets included
TUI4J depends on three libraries that are pulled in automatically:
You do not need to add these separately — they are declared as
api dependencies and are available on your classpath automatically.