aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/java/uberjar
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /build/platform/java/uberjar
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'build/platform/java/uberjar')
-rw-r--r--build/platform/java/uberjar/uberjar10/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar11/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar12/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar13/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar14/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar15/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar16/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar17/ya.make6
-rw-r--r--build/platform/java/uberjar/uberjar8/ya.make6
-rw-r--r--build/platform/java/uberjar/ya.make39
10 files changed, 93 insertions, 0 deletions
diff --git a/build/platform/java/uberjar/uberjar10/ya.make b/build/platform/java/uberjar/uberjar10/ya.make
new file mode 100644
index 0000000000..29829b4cd0
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar10/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR10 sbr:720309903)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar11/ya.make b/build/platform/java/uberjar/uberjar11/ya.make
new file mode 100644
index 0000000000..69ae705253
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar11/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR11 sbr:962498940)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar12/ya.make b/build/platform/java/uberjar/uberjar12/ya.make
new file mode 100644
index 0000000000..88ff579eca
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar12/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR12 sbr:962498940)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar13/ya.make b/build/platform/java/uberjar/uberjar13/ya.make
new file mode 100644
index 0000000000..62c70ca3a1
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar13/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR13 sbr:1165818979)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar14/ya.make b/build/platform/java/uberjar/uberjar14/ya.make
new file mode 100644
index 0000000000..45e7deab2f
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar14/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR14 sbr:1407329657)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar15/ya.make b/build/platform/java/uberjar/uberjar15/ya.make
new file mode 100644
index 0000000000..49fdd64317
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar15/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR15 sbr:2074702997)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar16/ya.make b/build/platform/java/uberjar/uberjar16/ya.make
new file mode 100644
index 0000000000..ca4cefc1b1
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar16/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR16 sbr:2199772343)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar17/ya.make b/build/platform/java/uberjar/uberjar17/ya.make
new file mode 100644
index 0000000000..bc9bf4411b
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar17/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(heretic)
+# same resource as 16
+DECLARE_EXTERNAL_RESOURCE(UBERJAR17 sbr:2199772343)
+
+END()
diff --git a/build/platform/java/uberjar/uberjar8/ya.make b/build/platform/java/uberjar/uberjar8/ya.make
new file mode 100644
index 0000000000..45aec41508
--- /dev/null
+++ b/build/platform/java/uberjar/uberjar8/ya.make
@@ -0,0 +1,6 @@
+RESOURCES_LIBRARY()
+OWNER(trenin17)
+
+DECLARE_EXTERNAL_RESOURCE(UBERJAR8 sbr:962511340)
+
+END()
diff --git a/build/platform/java/uberjar/ya.make b/build/platform/java/uberjar/ya.make
new file mode 100644
index 0000000000..29c934d5b1
--- /dev/null
+++ b/build/platform/java/uberjar/ya.make
@@ -0,0 +1,39 @@
+RESOURCES_LIBRARY()
+OWNER(heretic)
+
+IF(USE_SYSTEM_UBERJAR)
+ MESSAGE(WARNING System uberjar $USE_SYSTEM_UBERJAR will be used)
+ELSEIF(JDK_VERSION == "17")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:2199772343)
+ELSEIF(JDK_VERSION == "16")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:2199772343)
+ELSEIF(JDK_VERSION == "15")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:2074702997)
+ELSEIF(JDK_VERSION == "14")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:1407329657)
+ELSEIF(JDK_VERSION == "13")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:1165818979)
+ELSEIF(JDK_VERSION == "12")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:962498940)
+ELSEIF(JDK_VERSION == "11")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:962498940)
+ELSEIF(JDK_VERSION == "10" OR JDK10) # !JDK10 flag is deprecated, this check should be removed later
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:720309903)
+ELSEIF(JDK_VERSION == "8")
+ DECLARE_EXTERNAL_RESOURCE(UBERJAR sbr:962511340)
+ELSE()
+ MESSAGE(FATAL_ERROR Uberjar is not supported for selected JDK version)
+ENDIF()
+
+END()
+
+RECURSE(
+ uberjar8
+ uberjar10
+ uberjar11
+ uberjar12
+ uberjar13
+ uberjar14
+ uberjar15
+ uberjar16
+)