File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 "version_less" ,
3232)
3333load ("@rules_kotlin//kotlin:jvm.bzl" , "kt_jvm_library" )
34- load ("@rules_kotlin//kotlin:core.bzl" , "kt_kotlinc_options" )
34+ load ("@rules_kotlin//kotlin:core.bzl" , "kt_javac_options" , " kt_kotlinc_options" )
3535
3636package (default_visibility = ["//java/kotlin-extractor:__subpackages__" ])
3737
@@ -57,6 +57,11 @@ _resources = [
5757 for r in glob (["src/main/resources/**" ])
5858]
5959
60+ kt_javac_options (
61+ name = "javac-options" ,
62+ release = "8" ,
63+ )
64+
6065[
6166 (
6267 kt_kotlinc_options (
@@ -102,6 +107,7 @@ _resources = [
102107 ],
103108 exclude = ["src/main/kotlin/utils/versions/**" ],
104109 ) + get_compatilibity_sources (v , "src/main/kotlin/utils/versions" ),
110+ javac_opts = ":javac-options" ,
105111 kotlinc_opts = ":kotlinc-options-%s" % v ,
106112 module_name = "codeql-kotlin-extractor" ,
107113 # resource_strip_prefix is very nit-picky: the following makes it work from
You can’t perform that action at this time.
0 commit comments