| # Copyright 2018 The Bazel Authors. All rights reserved. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| workspace(name = "io_bazel_rules_kotlin") |
| |
| load("//kotlin/internal/repositories:repositories.bzl", "github_archive") |
| |
| github_archive( |
| name = "com_google_protobuf", |
| commit = "106ffc04be1abf3ff3399f54ccf149815b287dd9", |
| repo = "google/protobuf", |
| ) |
| |
| http_jar( |
| name = "bazel_deps", |
| sha256 = "05498224710808be9687f5b9a906d11dd29ad592020246d4cd1a26eeaed0735e", |
| url = "https://github.com/hsyed/bazel-deps/releases/download/v0.1.0/parseproject_deploy.jar", |
| ) |
| |
| http_archive( |
| name = "bazel_toolchains", |
| sha256 = "cefb6ccf86ca592baaa029bcef04148593c0efe8f734542f10293ea58f170715", |
| strip_prefix = "bazel-toolchains-cdea5b8675914d0a354d89f108de5d28e54e0edc", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/cdea5b8675914d0a354d89f108de5d28e54e0edc.tar.gz", |
| "https://github.com/bazelbuild/bazel-toolchains/archive/cdea5b8675914d0a354d89f108de5d28e54e0edc.tar.gz", |
| ], |
| ) |
| |
| load("//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains") |
| |
| kotlin_repositories() |
| |
| kt_register_toolchains() |