Skip to content

Commit 57e803c

Browse files
jketemaCopilot
andcommitted
Address rules_kotlin registry review comments
Format the compiler override's generated repository imports for readability and update registry links to the current bazel-contrib upstream, retaining the old repository ID as an alias. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 86050c1 commit 57e803c

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

‎MODULE.bazel‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,20 @@ kotlin.kotlinc_version(
4343
sha256 = "a623871f1cd9c938946948b70ef9170879f0758043885bbd30c32f024e511714",
4444
version = "2.2.21",
4545
)
46-
use_repo(kotlin, "btapi_impl", "com_github_google_ksp", "com_github_jetbrains_kotlin", "com_github_jetbrains_kotlin_git", "com_github_pinterest_ktlint", "jarjar", "kotlin_build_tools_api", "kotlinx_coroutines_core_jvm", "kotlinx_serialization_core_jvm", "kotlinx_serialization_json", "kotlinx_serialization_json_jvm")
46+
use_repo(
47+
kotlin,
48+
"btapi_impl",
49+
"com_github_google_ksp",
50+
"com_github_jetbrains_kotlin",
51+
"com_github_jetbrains_kotlin_git",
52+
"com_github_pinterest_ktlint",
53+
"jarjar",
54+
"kotlin_build_tools_api",
55+
"kotlinx_coroutines_core_jvm",
56+
"kotlinx_serialization_core_jvm",
57+
"kotlinx_serialization_json",
58+
"kotlinx_serialization_json_jvm",
59+
)
4760

4861
# Keep edition and version approximately in sync with internal repo.
4962
# the versions there are canonical, the versions here are used for CI in github/codeql, as well as for the vendoring of dependencies.

‎misc/bazel/registry/modules/rules_kotlin/metadata.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"homepage": "https://github.com/bazelbuild/rules_kotlin",
2+
"homepage": "https://github.com/bazel-contrib/rules_kotlin",
33
"maintainers": [
44
{
55
"email": "ben@ben.cm",
@@ -18,7 +18,8 @@
1818
}
1919
],
2020
"repository": [
21-
"github:bazelbuild/rules_kotlin"
21+
"github:bazelbuild/rules_kotlin",
22+
"github:bazel-contrib/rules_kotlin"
2223
],
2324
"versions": [
2425
"2.4.21-codeql.1"

0 commit comments

Comments
 (0)