summaryrefslogtreecommitdiff
path: root/mobile-kt/app/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-kt/app/BUILD')
-rw-r--r--mobile-kt/app/BUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/mobile-kt/app/BUILD b/mobile-kt/app/BUILD
new file mode 100644
index 0000000..c3e38c2
--- /dev/null
+++ b/mobile-kt/app/BUILD
@@ -0,0 +1,18 @@
+android_library(
+ name = "main",
+ manifest = "AndroidManifest.xml",
+ resource_files = glob(["res/**"]),
+)
+
+load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")
+kt_android_library(
+ name = "main_kt",
+ srcs = glob(["src/*.kt"]),
+ deps = [":main"],
+)
+
+android_binary(
+ name = "image-sync",
+ manifest = "AndroidManifest.xml",
+ deps = [":main", ":main_kt"],
+)