aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/groovy-language-server/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-registry/index/groovy-language-server/init.lua')
-rw-r--r--lua/mason-registry/index/groovy-language-server/init.lua33
1 files changed, 0 insertions, 33 deletions
diff --git a/lua/mason-registry/index/groovy-language-server/init.lua b/lua/mason-registry/index/groovy-language-server/init.lua
deleted file mode 100644
index 69c2d820..00000000
--- a/lua/mason-registry/index/groovy-language-server/init.lua
+++ /dev/null
@@ -1,33 +0,0 @@
-local Pkg = require "mason-core.package"
-local git = require "mason-core.managers.git"
-local path = require "mason-core.path"
-local std = require "mason-core.managers.std"
-
-return Pkg.new {
- name = "groovy-language-server",
- desc = [[A language server for Groovy]],
- homepage = "https://github.com/GroovyLanguageServer/groovy-language-server",
- languages = { Pkg.Lang.Groovy },
- categories = { Pkg.Cat.LSP },
- ---@async
- ---@param ctx InstallContext
- install = function(ctx)
- std.ensure_executable "javac"
- git.clone({ "https://github.com/GroovyLanguageServer/groovy-language-server" }).with_receipt()
- ctx:promote_cwd()
- ctx.spawn.gradlew {
- "build",
- with_paths = { ctx.cwd:get() },
- }
-
- ctx:link_bin(
- "groovy-language-server",
- ctx:write_shell_exec_wrapper(
- "groovy-language-server",
- ("java -jar %q"):format(
- path.concat { ctx.package:get_install_path(), "build", "libs", "groovy-language-server-all.jar" }
- )
- )
- )
- end,
-}