blob: 4e2a25c649e8dd67735f73c3c7a275d69d4beb27 [file] [log] [blame]
Fabian Meumertzheim8d966c42021-04-24 22:49:08 +02001# 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
17load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
18load("@com_github_johnynek_bazel_jar_jar//:jar_jar.bzl", "jar_jar_repositories")
19load("@io_bazel_rules_kotlin//kotlin:dependencies.bzl", "kt_download_local_dev_dependencies")
Fabian Meumertzheim78623a52021-07-28 15:05:26 +020020load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
Fabian Meumertzheim27b15be2021-10-08 15:41:08 +020021load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies")
Fabian Meumertzheim8d966c42021-04-24 22:49:08 +020022
23def 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 Meumertzheim27b15be2021-10-08 15:41:08 +020029 rules_jni_dependencies()