Skip to content

Commit

Permalink
Update examples to 4.11 and update to Java 17 (#79)
Browse files Browse the repository at this point in the history
* Update examples to 4.11 and update to Java 17

* Update .bazelrc

* Update .bazelrc

* remove jdk setup from github workflows
  • Loading branch information
Bencodes committed Nov 1, 2023
1 parent e61ce3e commit b1c83b5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
common --enable_bzlmod
# Android SDK 34 requires Java 17
common --java_runtime_version=17
15 changes: 0 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ jobs:
steps:
- name: "Checkout the sources"
uses: actions/checkout@v4
- name: "Install JDK 11"
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "11"
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Building //bazel:android-all"
Expand All @@ -27,11 +22,6 @@ jobs:
steps:
- name: "Checkout the sources"
uses: actions/checkout@v4
- name: "Install JDK 11"
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "11"
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Running integration tests"
Expand All @@ -45,11 +35,6 @@ jobs:
steps:
- name: "Checkout the sources"
uses: actions/checkout@v4
- name: "Install JDK 11"
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "11"
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Linting Starlark"
Expand Down
2 changes: 2 additions & 0 deletions examples/simple/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
common --enable_bzlmod
# Android SDK 34 requires Java 17
common --java_runtime_version=17
2 changes: 1 addition & 1 deletion examples/simple/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"com.google.truth:truth:1.1.3",
"org.robolectric:robolectric:4.10.3",
"org.robolectric:robolectric:4.11",
],
repositories = [
"https://maven.google.com",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ maven_install(
name = "maven",
artifacts = [
"com.google.truth:truth:1.1.3",
"org.robolectric:robolectric:4.10.3",
"org.robolectric:robolectric:4.11",
],
repositories = [
"https://maven.google.com",
Expand Down

0 comments on commit b1c83b5

Please sign in to comment.