diff --git a/MODULE.bazel b/MODULE.bazel index dbd653dbd..7dc12f9f3 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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", @@ -33,7 +29,6 @@ rules_kotlin_extensions = use_extension( "//src/main/starlark/core/repositories:bzlmod_setup.bzl", "rules_kotlin_extensions", ) - use_repo( rules_kotlin_extensions, "buildkite_config", @@ -41,8 +36,8 @@ use_repo( "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. @@ -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 @@ -68,7 +62,6 @@ maven = use_extension( "@rules_jvm_external//:extensions.bzl", "maven", ) - maven.install( name = "kotlin_rules_maven", artifacts = [ @@ -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",