-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.lua
More file actions
51 lines (48 loc) · 1.83 KB
/
Copy pathmetadata.lua
File metadata and controls
51 lines (48 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
-- metadata.lua
-- Plugin metadata and configuration
-- Documentation: https://mise.jdx.dev/tool-plugin-development.html#metadata-lua
PLUGIN = { -- luacheck: ignore
name = "eclipse-jdtls",
version = "0.1.1",
description = "Eclipse JDT Language Server (jdtls) prebuilt milestone and snapshot builds",
author = "coopernetes",
updateUrl = "https://github.com/coopernetes/mise-eclipse-jdtls",
-- jdtls ships bin/jdtls as a Python launcher that starts a JVM, so both
-- are needed to run the server. mise reports these before installing and
-- offers to install them via the system package manager, instead of
-- leaving the user with `env: 'python3': No such file or directory`.
--
-- Note that mise cannot offer to satisfy these with mise-managed tools,
-- so a user who provides python or java through mise itself may still see
-- these reported if they are not on PATH at the time of the check. Adding
-- them to the project's [tools] is documented in the README.
--
-- Requires mise 2026.7.3 or newer; older releases ignore this field.
systemDependencies = {
{
bin = "python3",
packages = {
apt = "python3",
dnf = "python3",
pacman = "python",
apk = "python3",
brew = "python3",
},
},
{
bin = "java",
packages = {
apt = "default-jre-headless",
dnf = "java-latest-openjdk-headless",
pacman = "jre-openjdk-headless",
apk = "openjdk21-jre-headless",
brew = "openjdk",
},
},
},
-- Optional: Legacy version files this plugin can parse
-- legacyFilenames = {
-- ".eclipse-jdtls-version",
-- ".eclipse-jdtlsrc"
-- }
}