You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to run a build with the latest release, I get this output:
ERROR: Failed to load Starlark extension '@io_bazel_rules_kotlin_configured//kotlin:opts.bzl'.
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined.
The following chain of repository dependencies lead to the missing definition.
- @io_bazel_rules_kotlin_configured
This could either mean you have to add the '@io_bazel_rules_kotlin_configured' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
ERROR: cycles detected during target parsing
INFO: Elapsed time: 0.155s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
I've reproduced on a "nullary" repository containing only this WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
rules_kotlin_version = "v1.5.0-beta-4"
http_archive(
name = "io_bazel_rules_kotlin",
urls = ["https://github.com/bazelbuild/rules_kotlin/releases/download/%s/rules_kotlin_release.tgz" % rules_kotlin_version],
)
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories")
### deleting anything below this line has no impact on behavior ###
kotlin_repositories()
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
kt_register_toolchains()
I'm on OSX using Bazel 4.0.0 if that matters. I saw #597 looks similar, but I couldn't figure out how to translate his solution.
The text was updated successfully, but these errors were encountered:
Whenever I try to run a build with the latest release, I get this output:
I've reproduced on a "nullary" repository containing only this
WORKSPACE
file:I'm on OSX using Bazel 4.0.0 if that matters. I saw #597 looks similar, but I couldn't figure out how to translate his solution.
The text was updated successfully, but these errors were encountered: