Skip to content

Repository '@io_bazel_rules_kotlin_configured' is not defined #157

@luxe

Description

@luxe

Using commit f6014ee, and using the example from the readme:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
  name = "bazel_diff",
  urls = [
        "RELEASE_ARCHIVE_URL",
    ],
    sha256 = "UPDATE_ME",
    strip_prefix = "UPDATE_ME"
)

load("@bazel_diff//:repositories.bzl", "bazel_diff_dependencies")

bazel_diff_dependencies()

load("@rules_jvm_external//:defs.bzl", "maven_install")
load("@bazel_diff//:artifacts.bzl", "BAZEL_DIFF_MAVEN_ARTIFACTS")

maven_install(
    name = "bazel_diff_maven",
    artifacts = BAZEL_DIFF_MAVEN_ARTIFACTS,
    repositories = [
        "http://uk.maven.org/maven2",
        "https://jcenter.bintray.com/",
    ],
)

I get the following error with bazel run @bazel_diff//:bazel-diff -- bazel-diff -h:

ERROR: /home/luxe/.cache/bazel/_bazel_luxe/9b1d289b10540c9752c68b55618a2156/external/bazel_diff/BUILD:1:6:  
error loading package '@bazel_diff//cli': at /home/luxe/.cache/bazel/_bazel_luxe/9b1d289b10540c9752c68b55618a2156/external/io_bazel_rules_kotlin/kotlin/jvm.bzl:9:5:  
at /home/luxe/.cache/bazel/_bazel_luxe/9b1d289b10540c9752c68b55618a2156/external/io_bazel_rules_kotlin/kotlin/internal/opts.bzl:22:5:  
Unable to find package for @io_bazel_rules_kotlin_configured//jvm:opts.bzl: The repository '@io_bazel_rules_kotlin_configured' could not be resolved: Repository '@io_bazel_rules_kotlin_configured' is not defined. 
and referenced by '@bazel_diff//:bazel-diff'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions