|
Note
|
With the below instructions you download the most simple Java template. The manual download and unpacking will be soon covered by a command line tool. |
LATEST_VERSION=$(curl -s "https://mifos.jfrog.io/artifactory/mifosx-gradle-local/org/mifos/mifos-conventions-gradle-project-java/maven-metadata.xml" | grep -oP '(?<=<latest>)[^<]+')
curl -H "Cache-Control: no-cache, no-store, must-revalidate" -H "Pragma: no-cache" -H "Expires: 0" -O "https://mifos.jfrog.io/artifactory/mifosx-gradle-local/org/mifos/mifos-conventions-gradle-project-boot-imperative/${LATEST_VERSION}/mifos-conventions-gradle-project-boot-imperative-${LATEST_VERSION}-template.tgz"
mkdir mifos-dummy-boot
tar -xvzf mifos-conventions-gradle-project-boot-imperative-${LATEST_VERSION}-template.tgz --strip-components=2 -C mifos-dummy-boot
rm mifos-conventions-gradle-project-boot-imperative-${LATEST_VERSION}-template.tgz
cd mifos-dummy-bootgit init
git config user.email "aleks@mifos.org"
git config user.username "Aleksandar Vidakovic"
git add .
git commit -m "Initial commit"Open a terminal and execute:
curl -s "https://get.sdkman.io" | bashOpen a new terminal to apply the changes from the installation and install the JReleaser tool:
sdk install jreleaser