Skip to content

Commit 3f071ca

Browse files
omerfdmrlÖmer Faruk Demirels1n7ax
authored
fix: change jdtls download url from milestones to snapshots (#499)
* fix: change jdtls download url from milestones to snapshots * style: fix stylua formatting --------- Co-authored-by: Ömer Faruk Demirel <omerfdmrl@mail.com> Co-authored-by: s1n7ax <srineshnisala@gmail.com>
1 parent b93e1c5 commit 3f071ca

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lua/pkgm/specs/init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ return {
1111
JdtlsSpec({
1212
name = 'jdtls',
1313
version_range = { from = '1.43.0', to = '1.54.0' },
14-
url = 'https://download.eclipse.org/{{name}}/milestones/'
15-
.. '{{version}}/jdt-language-server-{{version}}-{{timestamp}}.tar.gz',
14+
url = 'https://download.eclipse.org/{{name}}/snapshots/jdt-language-server-{{version}}-{{timestamp}}.tar.gz',
1615
}),
1716
BaseSpec({
1817
name = 'java-test',

lua/pkgm/specs/jdtls-spec/version-map.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- To update JDTLS version map:
2-
-- 1. Visit https://download.eclipse.org/jdtls/milestones/
2+
-- 1. Visit https://download.eclipse.org/jdtls/snapshots/
33
-- 2. Click on version link in 'Directory Contents' section
44
-- 3. Find file like: jdt-language-server-X.Y.Z-YYYYMMDDHHSS.tar.gz
55
-- 4. Extract package version (X.Y.Z) and timestamp (YYYYMMDDHHSS)

0 commit comments

Comments
 (0)