forked from android/testing-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
56 lines (43 loc) · 1.29 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
# Set the path to your local SDK installation, or use the ANDROID_HOME environment variable.
android_sdk_repository(
name = "androidsdk",
# path = "/path/to/sdk",
)
# Android Test Support
ATS_COMMIT = "f614f877fc5059e5a1ac3b7e4f107f41a1df89f2"
http_archive(
name = "android_test_support",
strip_prefix = "android-test-%s" % ATS_COMMIT,
urls = ["https://github.com/android/android-test/archive/%s.tar.gz" % ATS_COMMIT],
)
load("@android_test_support//:repo.bzl", "android_test_repositories")
android_test_repositories()
# Google Maven Repository
GMAVEN_TAG = "0.1.0"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
urls = ["https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG],
)
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",
)