-
Notifications
You must be signed in to change notification settings - Fork 15
/
BUILD
67 lines (59 loc) · 1.45 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package(default_visibility = ["//visibility:public"])
java_library(
name = "jelectrumlib",
srcs = glob(["src/**/*.java", "src/*.java"]),
deps = [
"@duckutil//:duckutil_lib",
"@snowblossom//lib",
"@maven//:com_google_guava_guava",
"@maven//:org_bitcoinj_bitcoinj_core",
"@maven//:com_google_protobuf_protobuf_java",
"@maven//:junit_junit",
"@maven//:org_rocksdb_rocksdbjni",
"@maven//:org_json_json",
"@maven//:commons_codec_commons_codec",
"@maven//:net_minidev_json_smart",
"@maven//:org_zeromq_jeromq",
],
)
java_binary(
name = "Jelectrum",
main_class = "jelectrum.Jelectrum",
runtime_deps = [
":jelectrumlib",
],
jvm_flags = [
'-Dhttp.keepalive=true',
'-Dhttp.maxConnections=32',
'-XX:+ExitOnOutOfMemoryError',
'-Xmx5g'],
)
java_binary(
name = "DumpAddresses",
main_class = "jelectrum.DumpAddresses",
runtime_deps = [
":jelectrumlib",
],
)
java_binary(
name = "EleCheck",
main_class = "elecheck.EleCheck",
runtime_deps = [
":jelectrumlib",
],
)
java_test(
name = "script_hash_test",
srcs = ["test/ScriptHashTest.java"],
test_class = "ScriptHashTest",
size="medium",
deps = [
":jelectrumlib",
"@snowblossom//lib",
"@maven//:com_google_protobuf_protobuf_java",
"@maven//:commons_codec_commons_codec",
"@maven//:org_bitcoinj_bitcoinj_core",
"@maven//:org_json_json",
"@duckutil//:duckutil_lib",
],
)