follow up for ^^. `WORKSPACE` is as follows: ```ko...
# announcements
t
follow up for ^^.
WORKSPACE
is as follows:
Copy code
kotlin_1_3 = {
  "urls": [
    "<https://github.com/JetBrains/kotlin/releases/download/v1.3-rc/kotlin-compiler-1.3.0-rc-57.zip>",
  ],
  "sha256": "f01df0ff86520346bc677c03fd600ee4a5ec657209d82f600049ec658bdccb19",
}

rules_kotlin_version = "47152947883eeebbf2ab93a4fd81e362c18e9242"

git_repository(
    name = "io_bazel_rules_kotlin",
    remote = "<https://github.com/bazelbuild/rules_kotlin.git>",
    commit = rules_kotlin_version
)
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")
kotlin_repositories(compiler_release = kotlin_1_3)
kt_register_toolchains()
with
BUILD
Copy code
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")

kt_jvm_library(
    name = "future",
    srcs = glob(["src/future/*.kt"]),
    deps = [],
)
currently have
Copy code
$ bazel build //:future
INFO: Analysed target //:future (0 packages loaded).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_iw/f04982cc20c2b9e2e0acdc7f8dfda686/external/io_bazel_rules_kotlin/src/main/kotlin/io/bazel/kotlin/builder/BUILD:34:1: Building external/io_bazel_rules_kotlin/src/main/kotlin/io/bazel/kotlin/builder/libbuilder.jar (2 source files) and running annotation processors (ComponentProcessor) failed (Exit 1)
error: cannot access NotNull
  class file for org.jetbrains.annotations.NotNull not found
  Consult the following stack trace for details.
  com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.jetbrains.annotations.NotNull not found
Target //:future failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.508s, Critical Path: 1.25s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
…more
bazel
discovery needed 😄
v
#C0B8PUJGZ maybe?
s
are you asking for bazel help or kotlin help rn
t
@Shawn
bazel
help right now
s
would recommend moving it over to #C0B8PUJGZ or #C09222272 tbh
#C0922A726 isn’t a great space to ask questions that aren’t like, general language-specific questions
t
@Shawn is #C0B8PUJGZ invite channel ?
s
nope, just click through and join
you should check out the Channel List or the quick switcher
ctrl/cmd+k
t
fab. i’ll try there. thanks
s
if you’re unfamiliar with the slack UI, highly recommend the New Member Guide https://get.slack.help/hc/en-us/articles/218080037-Getting-started-for-new-members
t
@Shawn thanks for this
👍 1