Skip to content

adds the scala.runtime.java8 package to the published jar#74

Merged
szeiger merged 1 commit intoscala:masterfrom
schmitch:adds-scala-runtime-java8-to-exported-classpath
Sep 5, 2016
Merged

adds the scala.runtime.java8 package to the published jar#74
szeiger merged 1 commit intoscala:masterfrom
schmitch:adds-scala-runtime-java8-to-exported-classpath

Conversation

@schmitch
Copy link
Contributor

fixes #73

@szeiger
Copy link
Contributor

szeiger commented Sep 5, 2016

I think we still need to merge this for the PackageDummy class in 2.11.

@szeiger szeiger reopened this Sep 5, 2016
build.sbt Outdated

def osgiExport(scalaVersion: String, version: String) = {
(CrossVersion.partialVersion(scalaVersion) match {
case Some((2, major)) if major == 11 => Seq(s"scala.runtime.java8.*;version=${version}")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not case Some((2, 11)) =>?

Copy link
Contributor Author

@schmitch schmitch Sep 5, 2016

Choose a reason for hiding this comment

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

I just copied that. Will fix

@schmitch
Copy link
Contributor Author

schmitch commented Sep 5, 2016

resolved the comments

@szeiger
Copy link
Contributor

szeiger commented Sep 5, 2016

LGTM

@szeiger szeiger merged commit 239d7f6 into scala:master Sep 5, 2016
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.

JFunction not added to the JAR

2 participants