Skip to content

Commit b643a76

Browse files
committed
Clean up deps test
1 parent 435e900 commit b643a76

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

examples/deps/WORKSPACE

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2-
load("@robolectric//bazel:robolectric.bzl", "robolectric_repositories")
32
load(
43
"@rules_android//android:rules.bzl",
54
"android_sdk_repository",
@@ -39,17 +38,8 @@ http_archive(
3938

4039
maven_install(
4140
artifacts = [
42-
"androidx.appcompat:appcompat:1.0.0",
43-
"junit:junit:4.12",
44-
"androidx.test.espresso:espresso-core:3.1.1",
45-
"org.hamcrest:hamcrest-library:1.3",
46-
"org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.3",
47-
"com.google.dagger:dagger:2.45",
48-
"com.google.dagger:dagger-compiler:2.45",
49-
"com.google.dagger:dagger-producers:2.45",
5041
"com.google.auto.value:auto-value:1.6.5",
5142
"com.google.auto.value:auto-value-annotations:1.6.5",
52-
"org.robolectric:robolectric:4.7.3",
5343
],
5444
repositories = [
5545
"https://maven.google.com",
@@ -67,11 +57,3 @@ http_archive(
6757
android_sdk_repository(
6858
name = "androidsdk",
6959
)
70-
71-
http_archive(
72-
name = "robolectric",
73-
strip_prefix = "robolectric-bazel-4.7.3",
74-
urls = ["https://github.com/robolectric/robolectric-bazel/archive/4.7.3.tar.gz"],
75-
)
76-
77-
robolectric_repositories()

examples/deps/bzl/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kt_javac_options(
99
name = "default_javac_options",
1010
)
1111

12-
KOTLIN_LANGUAGE_LEVEL = "1.6"
12+
KOTLIN_LANGUAGE_LEVEL = "2.1.0"
1313

1414
define_kt_toolchain(
1515
name = "experimental_toolchain",

0 commit comments

Comments
 (0)