Skip to content

Update rules_java, rules_detekt, rules_jvm_external#2249

Merged
Bencodes merged 2 commits intomainfrom
update-rules_java-rules_detekt-rules_jvm_external
May 6, 2022
Merged

Update rules_java, rules_detekt, rules_jvm_external#2249
Bencodes merged 2 commits intomainfrom
update-rules_java-rules_detekt-rules_jvm_external

Conversation

@Bencodes
Copy link
Contributor

@Bencodes Bencodes commented May 5, 2022

This PR contains the following updates:

  • Pinning rules_java to 5.0.0 so that nothing unexpected gets pulled transitively
  • Updating rules_detekt from 0.3.0 -> 0.6.0
  • Updating the Detekt CLI version used by rules_detekt from 1.x.x -> 1.20.0
  • Updating rules_kotlin from rules_kotlin-legacy-1.3.0-rc2 -> 1.6.0-RC-1
  • Updating the Kotlin compiler from 1.3.x -> 1.6.21

This also unblocks updating to Bazel 6.x.

Signed-off-by: ben@ben.cm

@Bencodes Bencodes force-pushed the update-rules_java-rules_detekt-rules_jvm_external branch 3 times, most recently from 5604948 to 72216c4 Compare May 6, 2022 15:31
Signed-off-by: Benjamin Lee <ben@ben.cm>
@Bencodes Bencodes force-pushed the update-rules_java-rules_detekt-rules_jvm_external branch from 72216c4 to 76b3788 Compare May 6, 2022 15:39
Signed-off-by: Benjamin Lee <ben@ben.cm>
@Bencodes Bencodes marked this pull request as ready for review May 6, 2022 15:42
# Envoy's runtime system. This option prevents them from being compiled out.
build --copt -DABSL_FLAGS_STRIP_NAMES=0

# The defaults are JDK 11 on newer versions of Bazel
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could potentially live under an Android specific bazelrc config if we'd prefer that not all builds have the JDK pinned to this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In EM this shouldn't matter for non android targets anyways

type = "zip",
urls = ["https://github.com/bazelbuild/rules_kotlin/archive/legacy-1.3.0-rc2.zip"],
sha256 = "f1a4053eae0ea381147f5056bb51e396c5c494c7f8d50d0dee4cc2f9d5c701b0",
urls = ["https://github.com/bazelbuild/rules_kotlin/releases/download/1.6.0-RC-1/rules_kotlin_release.tgz"],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rules_kotlin 1.6.0-RC-1 pins the Kotlin compiler to 1.6.21

Copy link
Contributor

@jpsim jpsim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm glad you got this working, I was stumped.

@Bencodes
Copy link
Contributor Author

Bencodes commented May 6, 2022

@jpsim is there any extra testing that you think needs to be done before we land this PR?

@jpsim
Copy link
Contributor

jpsim commented May 6, 2022

is there any extra testing that you think needs to be done before we land this PR?

I don’t think so, if we find issues downstream I can investigate at that point.

@Bencodes Bencodes merged commit 1805ed3 into main May 6, 2022
@Bencodes Bencodes deleted the update-rules_java-rules_detekt-rules_jvm_external branch May 6, 2022 17:13
jpsim added a commit that referenced this pull request May 6, 2022
* main:
  envoy: update to efbbb04 (#2258)
  Update rules_java, rules_detekt, rules_jvm_external (#2249)
  Upgrade rules_jvm_external from 4.1 -> 4.2 (#2254)
  CancelProofEnvoyStream (#2250)
  swift: add DrString tool & fix documentation comment issues (#2233)
  Fix `bump_lyft_support_rotation.sh` posting to Slack (#2234)
  jni: fix mismatched return value types (#2252)
  Remove bintray as a maven source (#2248)
  test: refine connection drain test (#2245)
  cleanup: remove comment in Http::Client that no longer applies (#2203)
  cleanup: fix test with inaccurate description (#2202)
  network: perform post-DNS connection drain on a per-host basis (#2240)
  network: add enableDrainPostDnsRefresh to iOS (#2242)
  envoy: update to em-cherry (#2241)
  network: support draining connections after triggered DNS refresh (#2225)

Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants