From 0b16b021109858b22d76df84270b29757e296c52 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 13 May 2021 16:47:45 -0700 Subject: [PATCH] update readme and build, post 1.0.0 --- README.md | 14 +++++++++++--- build.sbt | 6 +----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e21f48b..1a39420 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,20 @@ # scala-java8-compat [![Build Status](https://travis-ci.org/scala/scala-java8-compat.svg?branch=master)](https://travis-ci.org/scala/scala-java8-compat) [](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-java8-compat_2.11) [](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-java8-compat_2.12) [](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-java8-compat_2.13) -A Java 8 compatibility kit for Scala. - -The API is currently still experimental: we do not yet guarantee source or binary compatibility with future releases. +A Java 8 compatibility kit for Scala 2.12 and 2.11. Javadoc is [here](https://javadoc.io/doc/org.scala-lang.modules/scala-java8-compat_2.13/latest/index.html). +## Do you need this? + +If you are using Scala 2.13 or newer only, then don't use this library! Use the classes under `scala.jdk` instead; they were added to the standard library in 2.13. + +We do publish 2.13 and 3.0 artifacts of scala-java8-compat, but they're only intended to be used in projects which crossbuild with 2.12 and/or 2.11. + +## Maintenance status + +This library is community-maintained. (The Scala team at Lightbend provides infrastructure and oversight.) + ## Functional Interfaces for Scala functions A set of [Functional Interfaces](https://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html) diff --git a/build.sbt b/build.sbt index 13d8357..2c2e5f2 100644 --- a/build.sbt +++ b/build.sbt @@ -73,11 +73,7 @@ lazy val scalaJava8Compat = (project in file(".")) libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test", - scalaModuleMimaPreviousVersion := (CrossVersion.partialVersion(scalaVersion.value) match { - // pending resolution of https://github.com/scalacenter/sbt-version-policy/issues/62 - case Some((3, _)) => None - case _ => Some("1.0.0-RC1") - }), + scalaModuleMimaPreviousVersion := Some("1.0.0"), mimaBinaryIssueFilters ++= { import com.typesafe.tools.mima.core._, ProblemFilters._