summaryrefslogtreecommitdiff
path: root/mobile-kt/app/BUILD
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:51:36 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-26 14:52:57 +0100
commitd3bf2d09f740221771806789b00bf915c9f5f2e3 (patch)
tree95f99eabd763dff1907f107393504ee75aa747d7 /mobile-kt/app/BUILD
parent466d03a38cb01e9ff9a2d11be113a81c2bdce34a (diff)
initial commitHEADmain
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"],
+)