I have been working on some Java coding kata’s lately.
One of the pain points was the getting the environment set up.
This is one thing that other environments get right:
C# – visual studio has templates for everything.
Elixir – “mix new projectname” does the trick
I have had a look at the Java equivalents:
If you have gradle installed:
gradle init –type java-library
or if you prefer groovy and spock:
gradle init –type groovy-application
If you have maven installed:
mvn archetype:generate –DgroupId=com.mycompany.app –DartifactId=my–app –DarchetypeArtifactId=maven–archetype–quickstart –DinteractiveMode=false
Personally I like the brevity of gradle, both of these should be run inside the directory that you have created.