forked from bazelbuild/rules_kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build rules_kotlin using rules_kotlin (bazelbuild#1081)
* Build rules_kotlin using rules_kotlin * Fix non-bzlmod, format * Add reflect for js. * Remove unused variable * remove dev dependency arguments, clean cache * Restore lint, remove hacks * Fix module formatting * Fix ktlint * Compose classpath issue -- is it the preloader? * toolchain with reflect needed? * Ensure the bootstrap repos are configured * isolated bootstrap * Remove rogue file * Apply formatting * Add release MODULE, clean up unused imports * Fix lexical order * Learning portable sed * The journy of sed continues * variations. * pipes are not my friend * pipes are not my friend * to perl! * Adjust rbe java settings * Fix format * Disable bazel 6 android, as the rules_java are not compatible * downgrade rules java * Set java toolchains * fix lint error * buildifier, again * [ci] Attempt to prebuild and override bazel 6 example * Remove unused in .bazelrc * clean up presubmit * Fix module formatting * Remove clean from CI * Fix module formatting * Remove lock * remove rules_cc and buildkite * Restore buildkite * Restore rules_cc * Use bzlmod with ubuntu * Revert "Use bzlmod with ubuntu" This reverts commit 339a9c0.
- Loading branch information
1 parent
4dea295
commit 9c180ac
Showing
24 changed files
with
236 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
**/.DS_Store | ||
trace.profile.gz | ||
.idea | ||
MODULE.bazel.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module( | ||
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 = "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, | ||
"buildkite_config", | ||
"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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.