From 35c93a0d33e414a17b0a2d623a9921f948f59cfa Mon Sep 17 00:00:00 2001 From: "Davi A. Wasserberg" Date: Thu, 10 Feb 2022 22:06:38 -0300 Subject: [PATCH] [Chore] add `asdf` one script setup --- .tool-versions | 2 ++ README.md | 6 ++++++ asdf-setup.sh | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 .tool-versions create mode 100755 asdf-setup.sh diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..c675395 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +java adoptopenjdk-8.0.322+6 +gradle 6.8.3 diff --git a/README.md b/README.md index 2ca8463..e3983c3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # ws3d WorldServer3D - A Virtual Environment for Experiments with Artificial Creatures + +## ASDF setup +[asdf github](https://github.com/asdf-vm/asdf) +[Install asdf](http://asdf-vm.com/guide/getting-started.html#_1-install-dependencies) + +Then run `./asdf-setup.sh` diff --git a/asdf-setup.sh b/asdf-setup.sh new file mode 100755 index 0000000..fe9d2bd --- /dev/null +++ b/asdf-setup.sh @@ -0,0 +1,6 @@ +#!/usr/bin/sh + +asdf plugin-add java https://github.com/halcyon/asdf-java.git +asdf plugin-add gradle https://github.com/rfrancis/asdf-gradle.git +asdf install +gradle run