blob: 29c934d5b10cf190e9881dc5a292d044496a1c0b (
plain) (
blame)
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
|
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
)
|