A template java project using gradle and basic dependencies
It basically follows the tutorial described here: https://docs.gradle.org/current/samples/sample_building_java_applications.html
This example app creates a table and populates it using SQL. The DB is persistent.
There are different options for reading input from the console: https://www.geeksforgeeks.org/ways-to-read-input-from-console-in-java/