gradle_new_java_library
This function will create a new Gradle Java library project with sensible, modern defaults and the given name.
The optional second parameter is the directory ($PWD if not given) the project is created in.
| A Git repository with  This script uses Git commit signing if  | 
| The generated default package will be  You can change the default by adding  If you want no comments  to be generated add   | 
| You might want to customize the defaults for the created  zfunc/gradle_new_java_library  | 
| You might want to use repo_publish_to_gh to publish the newly created project to GitHub:  | 
Usage
$ gradle_new_java_library example-java-library
$ gradle_new_java_library other-java-library /tmp
$ tree --noreport -a -I .git .
.
├── .editorconfig
├── .gitattributes
├── .githooks
│   ├── pre-commit
│   └── pre-push
├── .gitignore
├── gradle
│   ├── libs.versions.toml
│   └── wrapper
│       ├── gradle-wrapper.jar
│       └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── lib
│   ├── build.gradle.kts
│   └── src
│       ├── main
│       │   ├── java
│       │   │   └── org
│       │   │       └── example
│       │   │           └── Library.java
│       │   └── resources
│       └── test
│           ├── java
│           │   └── org
│           │       └── example
│           │           └── LibraryTest.java
│           └── resources
└── settings.gradle.kts
$ git status
On branch main
nothing to commit, working tree clean