Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] and Bencodes authored Jul 1, 2024
1 parent 232a07d commit 8cb3906
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 1 deletion.
32 changes: 32 additions & 0 deletions modules/rules_kotlin/1.9.6/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module(
name = "rules_kotlin",
version = "1.9.6",
compatibility_level = 1,
repo_name = "rules_kotlin",
)

bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "bazel_skylib", version = "1.6.1")
bazel_dep(name = "rules_java", version = "7.2.0")
bazel_dep(name = "rules_python", version = "0.23.1")
bazel_dep(name = "rules_cc", version = "0.0.8")

rules_kotlin_extensions = use_extension(
"//src/main/starlark/core/repositories:bzlmod_setup.bzl",
"rules_kotlin_extensions",
)
use_repo(
rules_kotlin_extensions,
"com_github_google_ksp",
"com_github_jetbrains_kotlin",
"com_github_pinterest_ktlint",
"rules_android",
)

register_toolchains("//kotlin/internal:default_toolchain")

# TODO(bencodes) We should be able to remove this once rules_android has rolled out official Bzlmod support
remote_android_extensions = use_extension("@bazel_tools//tools/android:android_extensions.bzl", "remote_android_tools_extensions")
use_repo(remote_android_extensions, "android_gmaven_r8", "android_tools")

bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
12 changes: 12 additions & 0 deletions modules/rules_kotlin/1.9.6/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_kotlin",
- version = "1.9.0",
+ version = "1.9.6",
compatibility_level = 1,
repo_name = "rules_kotlin",
)

13 changes: 13 additions & 0 deletions modules/rules_kotlin/1.9.6/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
matrix:
platform: ["macos", "ubuntu2004"]
bazel: ["6.x", "7.x", "rolling"]
tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- "--enable_bzlmod=true"
build_targets:
- "@rules_kotlin//kotlin/..."
- "@rules_kotlin//src/..."
8 changes: 8 additions & 0 deletions modules/rules_kotlin/1.9.6/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"integrity": "sha256-O3cpdv7Hvc2h2EudObF2WJQkwEfrIXW+0JqsYw5Qr0M=",
"url": "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.6/rules_kotlin-v1.9.6.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-DzcJ53CqDqD+AiboAl8Tq2/fKJRXn0g5O2g4UQfLrbE="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_kotlin/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"1.9.0",
"1.9.1",
"1.9.4",
"1.9.5"
"1.9.5",
"1.9.6"
],
"yanked_versions": {}
}

0 comments on commit 8cb3906

Please sign in to comment.