From 9072a45b3ac7a8eed51d9e0d6ceba6564a56a3b0 Mon Sep 17 00:00:00 2001 From: s1n7ax Date: Sun, 3 Dec 2023 13:00:02 +0530 Subject: [PATCH 1/3] feat: add openjdk-17 --- packages/openjdk-17/package.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packages/openjdk-17/package.yaml diff --git a/packages/openjdk-17/package.yaml b/packages/openjdk-17/package.yaml new file mode 100644 index 0000000..0c97e43 --- /dev/null +++ b/packages/openjdk-17/package.yaml @@ -0,0 +1,28 @@ +--- +name: openjdk-17 +description: | + The Java Development Kit is a distribution of Java Technology by Oracle Corporation. + It implements the Java Language Specification and the Java Virtual Machine Specification + and provides the Standard Edition of the Java Application Programming Interface. +homepage: https://github.com/eclipse/eclipse.jdt.ls +licenses: + - GPL-2.0 +languages: + - Java +categories: + - Other + +source: + id: pkg:java.net/openjdk@17.0.2 + download: + - target: [darwin_x64, darwin_arm64] + files: + openjdk-17.0.2.zip: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_windows-x64_bin.zip + + - target: linux + files: + openjdk-17.0.2.tar.gz: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz + + - target: win + files: + openjdk-17.0.2.tar.gz: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_macos-x64_bin.tar.gz From 04bd0f9ee860f2160f31e4b2bb7601c477b87eff Mon Sep 17 00:00:00 2001 From: s1n7ax Date: Sun, 3 Dec 2023 13:04:07 +0530 Subject: [PATCH 2/3] fix: openjdk category is not valid --- packages/openjdk-17/package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openjdk-17/package.yaml b/packages/openjdk-17/package.yaml index 0c97e43..261106b 100644 --- a/packages/openjdk-17/package.yaml +++ b/packages/openjdk-17/package.yaml @@ -10,7 +10,7 @@ licenses: languages: - Java categories: - - Other + - Runtime source: id: pkg:java.net/openjdk@17.0.2 From 149e9d8397f87d942a25a100cbf3c68ec55c2428 Mon Sep 17 00:00:00 2001 From: s1n7ax Date: Sun, 3 Dec 2023 13:07:10 +0530 Subject: [PATCH 3/3] fix: invalid source package id --- packages/openjdk-17/package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openjdk-17/package.yaml b/packages/openjdk-17/package.yaml index 261106b..1677001 100644 --- a/packages/openjdk-17/package.yaml +++ b/packages/openjdk-17/package.yaml @@ -13,7 +13,7 @@ categories: - Runtime source: - id: pkg:java.net/openjdk@17.0.2 + id: pkg:generic/java/openjdk@17.0.2 download: - target: [darwin_x64, darwin_arm64] files: