Skip to content

Instantly share code, notes, and snippets.

@mig35
Last active December 12, 2019 04:16
Show Gist options
  • Save mig35/98480683ec78d007dcd052021031a3b0 to your computer and use it in GitHub Desktop.
Save mig35/98480683ec78d007dcd052021031a3b0 to your computer and use it in GitHub Desktop.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
rules_kotlin_version = "legacy-1.3.0-rc1"
rules_kotlin_sha = "9de078258235ea48021830b1669bbbb678d7c3bdffd3435f4c0817c921a88e42"
http_archive(
name = "io_bazel_rules_kotlin",
urls = ["https://github.com/bazelbuild/rules_kotlin/archive/%s.zip" % rules_kotlin_version],
type = "zip",
strip_prefix = "rules_kotlin-%s" % rules_kotlin_version,
sha256 = rules_kotlin_sha
)
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")
kotlin_repositories()
kt_register_toolchains()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment