-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
35 lines (30 loc) · 950 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")
kt_jvm_library(
name = "code",
srcs = glob(["src/main/kotlin/**/*.kt"]),
deps = [
":adw",
"@appdeps//:compile",
#"//3rdparty/jvm/io/javalin:javalin",
"//3rdparty/jvm/com/fasterxml/jackson/module:jackson_module_kotlin",
"//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind",
"//3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations",
"//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core",
"//3rdparty/jvm/org/jetbrains/kotlin:kotlin_stdlib",
"//3rdparty/jvm/org/jetbrains/kotlin:kotlin_reflect",
],
)
java_import(
name = "adw",
jars = [
"lib/adw.feb2015.jar",
],
)
load("@io_bazel_rules_docker//java:image.bzl", "java_image")
java_image(
name = "image",
main_class = "com.github.cdl.adw.ServiceKt",
runtime_deps = [
":code",
],
)