Repository navigation
Use MultiJvmPlugin instead of deprecated SbtMultiJvm.MultiJvmKeys - #196
Merged
Merged
Conversation
Motivation: sbt-multi-jvm 0.6.0 deprecates SbtMultiJvm and MultiJvmKeys, so every multi-jvm sample prints deprecation warnings when the build loads. Modification: Import multiJvmSettings from com.typesafe.sbt.MultiJvmPlugin and drop the MultiJvmKeys import; MultiJvm comes from MultiJvmPlugin.autoImport, which sbt imports into build.sbt automatically. Result: The multi-jvm sample builds load without these deprecation warnings. Tests: - pekko-sample-cluster-java: sbt multi-jvm:test - pass, no MultiJvmKeys deprecation warnings References: None - build deprecation cleanup
He-Pin
approved these changes
Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation:
sbt-multi-jvm 0.6.0 deprecates
SbtMultiJvmandMultiJvmKeys, so every multi-jvm sample prints deprecation warnings when the build loads (object MultiJvmKeys in object MultiJvmPlugin is deprecated (since 0.6.0): Use MultiJvmPlugin.autoImport instead).Modification:
Import
multiJvmSettingsfromcom.typesafe.sbt.MultiJvmPluginand drop theMultiJvmKeysimport.MultiJvmcomes fromMultiJvmPlugin.autoImport, which sbt imports intobuild.sbtautomatically. Applies to cluster-java, cluster-scala, cluster-client-grpc-scala, distributed-data-java and distributed-data-scala.Result:
The multi-jvm sample builds load without these deprecation warnings.
Tests:
pekko-sample-cluster-java:sbt multi-jvm:test- pass, noMultiJvmKeysdeprecation warningsReferences:
None - build deprecation cleanup