From d62fe35f0344f9a034862244353d3efa9db2455f Mon Sep 17 00:00:00 2001 From: tonycody Date: Fri, 25 Nov 2022 19:19:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8jdk=20tools=20version=20management?= =?UTF-8?q?=20tool,=20switch=20from=20jenv=20to=20sdkman?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .java-version | 1 - .sdkmanrc | 5 +++++ README.md | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) delete mode 100644 .java-version create mode 100644 .sdkmanrc diff --git a/.java-version b/.java-version deleted file mode 100644 index 2dbc24b3..00000000 --- a/.java-version +++ /dev/null @@ -1 +0,0 @@ -11.0 diff --git a/.sdkmanrc b/.sdkmanrc new file mode 100644 index 00000000..7904222b --- /dev/null +++ b/.sdkmanrc @@ -0,0 +1,5 @@ +# https://sdkman.io/usage#env +# Enable auto-env through the sdkman_auto_env config +# Add key=value pairs of SDKs to use below +java=11.0.12-open +maven=3.8.6 diff --git a/README.md b/README.md index 0a33ad95..7d292c84 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,12 @@ To learn about the Takari Maven Lifecycle you can take a look here: + +# Developer's Guide + +```shell +# sdkman install: https://sdkman.io/install +curl -s "https://get.sdkman.io" | bash && source "$HOME/.sdkman/bin/sdkman-init.sh" +# prepare environment +sdk env install +``` \ No newline at end of file From cf3805ce22d70ddc0ac1b1fbe965eca5307fed47 Mon Sep 17 00:00:00 2001 From: tonycody Date: Fri, 25 Nov 2022 19:37:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A5Remove=20the=20maven=20version?= =?UTF-8?q?=20qualification=20entirely=20through=20the=20maven=20wrapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .sdkmanrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.sdkmanrc b/.sdkmanrc index 7904222b..33426c2c 100644 --- a/.sdkmanrc +++ b/.sdkmanrc @@ -1,5 +1,4 @@ # https://sdkman.io/usage#env # Enable auto-env through the sdkman_auto_env config # Add key=value pairs of SDKs to use below -java=11.0.12-open -maven=3.8.6 +java=11.0.12-open \ No newline at end of file