summaryrefslogtreecommitdiff
path: root/mobile-kt/WORKSPACE
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-kt/WORKSPACE')
-rw-r--r--mobile-kt/WORKSPACE25
1 files changed, 25 insertions, 0 deletions
diff --git a/mobile-kt/WORKSPACE b/mobile-kt/WORKSPACE
new file mode 100644
index 0000000..158184a
--- /dev/null
+++ b/mobile-kt/WORKSPACE
@@ -0,0 +1,25 @@
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
+
+# Android
+
+android_sdk_repository(
+ name = "androidsdk",
+)
+
+
+# Kotlin
+
+rules_kotlin_version = "1.9.0"
+rules_kotlin_sha = "5766f1e599acf551aa56f49dab9ab9108269b03c557496c54acaf41f98e2b8d6"
+http_archive(
+ name = "rules_kotlin",
+ urls = ["https://github.com/bazelbuild/rules_kotlin/releases/download/v%s/rules_kotlin-v%s.tar.gz" % (rules_kotlin_version, rules_kotlin_version)],
+ sha256 = rules_kotlin_sha,
+)
+
+load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
+kotlin_repositories()
+
+load("@rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
+kt_register_toolchain()