File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/main/starlark/core/repositories Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
load ("@released_rules_kotlin//src/main/starlark/core/repositories:initialize.bzl" , "kotlin_repositories" )
2
+ load ("//src/main/starlark/core/repositories:versions.bzl" , "versions" )
2
3
3
4
def _rules_kotlin_bootstrap_extensions_impl (_ ):
4
5
kotlin_repositories (
5
6
is_bzlmod = True ,
6
7
compiler_repository_name = "released_com_github_jetbrains_kotlin" ,
7
8
ksp_repository_name = "released_com_github_google_ksp" ,
9
+ compiler_release = versions .KOTLIN_CURRENT_COMPILER_RELEASE ,
10
+ ksp_compiler_release = versions .KSP_CURRENT_COMPILER_PLUGIN_RELEASE ,
8
11
)
9
12
10
13
rules_kotlin_bootstrap_extensions = module_extension (
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ def _rules_kotlin_extensions_impl(mctx):
29
29
repo = repo ,
30
30
)
31
31
for repo in ["com_github_jetbrains_kotlin" , "com_github_google_ksp" ]
32
+ ] + [
33
+ # change jar to klib for more modern versions.
34
+ "perl -i -pe 's/kotlin-stdlib-js.jar/kotlin-stdlib-js.klib/g' src/main/starlark/core/repositories/kotlin/artifacts.bzl" ,
32
35
],
33
36
)
34
37
You can’t perform that action at this time.
0 commit comments