############################### load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_jvm_external", strip_prefix = "rules_jvm_external-1.2", sha256 = "e5c68b87f750309a79f59c2b69ead5c3221ffa54ff9496306937bfa1c9c8c86b", url = "https://github.com/bazelbuild/rules_jvm_external/archive/1.2.zip" ) ############################### # kotlin_rules (https://github.com/cgruber/rules_kotlin) load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") #rules_kotlin_version = "legacy-modded-0_26_1-01" #rules_kotlin_sha = "b943379a6b48156cb542cee4502a463a6e2edeb307d1a4cabd0309ca2bf3f10f" rules_kotlin_version = "legacy-modded-0_26_1-02" rules_kotlin_sha = "245d0bc1511048aaf82afd0fa8a83e8c3b5afdff0ae4fbcae25e03bb2c6f1a1a" http_archive( name = "io_bazel_rules_kotlin", urls = ["https://github.com/cgruber/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() ############################### # Maven dependencies load("@rules_jvm_external//:defs.bzl", "maven_install") maven_install( name = "maven", artifacts = [ "org.jetbrains.exposed:exposed:0.15.1", ], repositories = [ "http://jcenter.bintray.com", ], fetch_sources = True, # Fetch source jars. Defaults to False. )