forked from android/testing-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
59 lines (44 loc) · 1.34 KB
/
WORKSPACE
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
# Set the path to your local SDK installation
SDK_PATH = "/path/to/sdk"
android_sdk_repository(
name = "androidsdk",
path = SDK_PATH,
)
# Android Test Support
ATS_COMMIT = "be7fa5191b3e3eb70411357af13f011dcfb95b50"
http_archive(
name = "android_test_support",
strip_prefix = "android-testing-support-library-%s" % ATS_COMMIT,
urls = ["https://github.com/google/android-testing-support-library/archive/%s.tar.gz" % ATS_COMMIT],
)
load("@android_test_support//:repo.bzl", "android_test_repositories")
android_test_repositories()
# Google Maven Repository
GMAVEN_COMMIT = "44d75d3e7bdfa8ff0b30ceb048b0f09bc6b72c70"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_COMMIT,
urls = ["https://github.com/aj-michael/gmaven_rules/archive/%s.tar.gz" % GMAVEN_COMMIT],
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
maven_jar(
name = "com_google_inject_guice",
artifact = "com.google.inject:guice:4.0",
)
maven_jar(
name = "junit_junit",
artifact = "junit:junit:4.12",
)
maven_jar(
name = "javax_inject_javax_inject",
artifact = "javax.inject:javax.inject:1",
)
maven_jar(
name = "org_hamcrest_java_hamcrest",
artifact = "org.hamcrest:java-hamcrest:2.0.0.0",
)
maven_jar(
name = "com_google_guava_guava",
artifact = "com.google.guava:guava:18.0",
)