diff --git a/jitpack.yml b/jitpack.yml new file mode 100755 index 0000000..3e4079d --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,13 @@ +before_install: +# Setup mise environment + - curl https://mise.run | sh +# the following installs the right tools and creates a mise.toml +# you can skip these if you commit a mise.toml to the project. + - ~/.local/bin/mise trust mise.toml + - ~/.local/bin/mise use java@17 maven@3.6.3 + +install: +# you could technically just run mvn install directly +# put just showing mise x as an option where you can +# configure additional jdks. + - ~/.local/bin/mise x -- mvn install -B -ntp -DskipTests diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..dcad49d --- /dev/null +++ b/mise.toml @@ -0,0 +1,3 @@ +[tools] +java = "17" +maven = "3.9"