Skip to content

Commit

Permalink
Fix module formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
restingbull committed Dec 8, 2023
1 parent 8fdfb2e commit 3f0db1c
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
module(
name = "rules_kotlin",
repo_name = "rules_kotlin",
version = "1.9.0",
repo_name = "rules_kotlin",
)

bazel_dep(
name = "platforms",
version = "0.0.6",
)

bazel_dep(
name = "bazel_skylib",
version = "1.4.2",
)

bazel_dep(
name = "rules_java",
version = "6.4.0",
)

bazel_dep(
name = "rules_python",
version = "0.23.1",
)

bazel_dep(
name = "rules_cc",
version = "0.0.8",
Expand All @@ -33,16 +29,15 @@ rules_kotlin_extensions = use_extension(
"//src/main/starlark/core/repositories:bzlmod_setup.bzl",
"rules_kotlin_extensions",
)

use_repo(
rules_kotlin_extensions,
"buildkite_config",
"com_github_google_ksp",
"com_github_jetbrains_kotlin",
"com_github_pinterest_ktlint",
"kt_java_stub_template",
"rules_android",
"released_rules_kotlin",
"rules_android",
)

# Register toolchain for bootstrapping the current rules.
Expand All @@ -52,7 +47,6 @@ 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")

# Development dependencies
Expand All @@ -68,7 +62,6 @@ maven = use_extension(
"@rules_jvm_external//:extensions.bzl",
"maven",
)

maven.install(
name = "kotlin_rules_maven",
artifacts = [
Expand Down Expand Up @@ -98,20 +91,17 @@ maven.install(
"https://repo1.maven.org/maven2",
],
)

use_repo(maven, "kotlin_rules_maven")

bazel_dep(
name = "rules_pkg",
version = "0.7.0",
)

bazel_dep(
name = "stardoc",
repo_name = "io_bazel_stardoc",
version = "0.5.6",
repo_name = "io_bazel_stardoc",
)

bazel_dep(
name = "rules_proto",
version = "5.3.0-21.7",
Expand Down

0 comments on commit 3f0db1c

Please sign in to comment.