-
Notifications
You must be signed in to change notification settings - Fork 499
/
BUILD.bazel
72 lines (65 loc) · 1.84 KB
/
BUILD.bazel
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
67
68
69
70
71
72
"""
Package for common libraries that potentially support multiple scripts by performing common or
generic operations.
"""
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")
kt_jvm_library(
name = "bazel_client",
testonly = True,
srcs = [
"BazelClient.kt",
],
visibility = ["//scripts:oppia_script_library_visibility"],
deps = [
"//scripts/src/java/org/oppia/android/scripts/common:command_executor",
],
)
kt_jvm_library(
name = "git_client",
srcs = [
"GitClient.kt",
],
visibility = ["//scripts:oppia_script_library_visibility"],
deps = [
"//scripts/src/java/org/oppia/android/scripts/common:command_executor",
],
)
kt_jvm_library(
name = "command_executor",
srcs = [
"CommandExecutor.kt",
"CommandExecutorImpl.kt",
"CommandResult.kt",
],
visibility = ["//scripts:oppia_script_library_visibility"],
deps = [
":script_background_coroutine_dispatcher",
"//third_party:org_jetbrains_kotlinx_kotlinx-coroutines-core",
],
)
kt_jvm_library(
name = "proto_string_encoder",
testonly = True,
srcs = ["ProtoStringEncoder.kt"],
visibility = ["//scripts:oppia_script_library_visibility"],
deps = [
"//third_party:com_google_protobuf_protobuf-javalite",
],
)
kt_jvm_library(
name = "repository_file",
testonly = True,
srcs = ["RepositoryFile.kt"],
visibility = ["//scripts:oppia_script_library_visibility"],
deps = [
"//third_party:org_jetbrains_kotlin_kotlin-stdlib-jdk8_jar",
],
)
kt_jvm_library(
name = "script_background_coroutine_dispatcher",
srcs = ["ScriptBackgroundCoroutineDispatcher.kt"],
visibility = ["//scripts:oppia_script_library_visibility"],
deps = [
"//third_party:org_jetbrains_kotlinx_kotlinx-coroutines-core",
],
)