This repository has been archived by the owner on Mar 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWORKSPACE
87 lines (76 loc) · 2.26 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
workspace(name = "rules_maven")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Begin test dependencies
load("//:defs.bzl", "maven_install")
load("//:specs.bzl", "maven")
maven_install(
artifacts = [
"androidx.test.espresso:espresso-core:3.1.1",
"androidx.test.ext:junit:1.1.0",
"androidx.test:runner:1.1.1",
"com.android.support:design:28.0.0",
"com.google.android.gms:play-services-maps:16.0.0",
"com.google.code.gson:gson:2.8.5",
"com.google.guava:guava:27.0-android",
"com.google.inject:guice:4.0",
"commons-io:commons-io:2.6",
"io.reactivex.rxjava2:rxjava:2.2.4",
"junit:junit:4.12",
"org.hamcrest:java-hamcrest:2.0.0.0",
"org.mockito:mockito-core:2.22.0",
"org.springframework:spring-core:5.1.3.RELEASE",
],
fetch_sources = True,
repositories = [
"https://bintray.com/bintray/jcenter",
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
maven_install(
name = "other_maven",
artifacts = [
"com.google.guava:guava:27.0-jre",
],
fetch_sources = True,
repositories = [
"https://repo1.maven.org/maven2",
],
)
maven_install(
name = "other_maven_with_exclusions",
artifacts = [
maven.artifact(
group = "com.google.guava",
artifact = "guava",
version = "27.0-jre",
exclusions = [
maven.exclusion(group = "org.codehaus.mojo", artifact = "animal-sniffer-annotations"),
"com.google.j2objc:j2objc-annotations",
]
),
],
fetch_sources = True,
repositories = [
"https://repo1.maven.org/maven2",
],
)
maven_install(
name = "unsafe_shared_cache",
artifacts = [
"com.google.guava:guava:27.0-jre",
],
fetch_sources = True,
repositories = [
"https://repo1.maven.org/maven2",
],
use_unsafe_shared_cache = True,
)
android_sdk_repository(name = "androidsdk")
BAZEL_SKYLIB_TAG = "0.6.0"
http_archive(
name = "bazel_skylib",
strip_prefix = "bazel-skylib-%s" % BAZEL_SKYLIB_TAG,
url = "https://github.com/bazelbuild/bazel-skylib/archive/%s.tar.gz" % BAZEL_SKYLIB_TAG,
)
# End test dependencies