pjfanning commented on code in PR #2511:
URL: https://github.com/apache/pekko/pull/2511#discussion_r2533563473
##########
project/OSGi.scala:
##########
@@ -138,9 +138,22 @@ object OSGi {
scalaImport(scalaVersion))
def pekkoImport(version: String, packageName: String = "org.apache.pekko.*")
= {
val versionComponents = version.split('.')
- val nextMinorVersion = versionComponents(1).toInt + 1
- versionedImport(packageName,
s"${versionComponents.head}.${versionComponents(1)}",
- s"${versionComponents.head}.$nextMinorVersion")
+ if (versionComponents.length < 2) {
Review Comment:
is it ok if I add a link to https://github.com/apache/pekko/issues/2509 as
the comment? - it's easier to keep the GitHub description updated than to
potentially need PRs to update the comments
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]