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 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") 20load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories") 21load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies") 22 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() 29 rules_jni_dependencies() 30