Fabian Meumertzheim | 8d966c4 | 2021-04-24 22:49:08 +0200 | [diff] [blame] | 1 | # Copyright 2021 Code Intelligence GmbH |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | """Dependency initialization utilities.""" |
| 16 | |
| 17 | load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
| 18 | load("@com_github_johnynek_bazel_jar_jar//:jar_jar.bzl", "jar_jar_repositories") |
| 19 | load("@io_bazel_rules_kotlin//kotlin:dependencies.bzl", "kt_download_local_dev_dependencies") |
Fabian Meumertzheim | 78623a5 | 2021-07-28 15:05:26 +0200 | [diff] [blame] | 20 | load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories") |
Fabian Meumertzheim | 27b15be | 2021-10-08 15:41:08 +0200 | [diff] [blame] | 21 | load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies") |
Fabian Meumertzheim | 8d966c4 | 2021-04-24 22:49:08 +0200 | [diff] [blame] | 22 | |
| 23 | def jazzer_init(): |
| 24 | bazel_skylib_workspace() |
| 25 | kt_download_local_dev_dependencies() |
| 26 | kotlin_repositories() |
| 27 | native.register_toolchains("@jazzer//:kotlin_toolchain") |
| 28 | jar_jar_repositories() |
Fabian Meumertzheim | 27b15be | 2021-10-08 15:41:08 +0200 | [diff] [blame] | 29 | rules_jni_dependencies() |