File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lib/src/main/scala/org/typelevel/scalacoptions Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,11 @@ private[scalacoptions] trait ScalacOptions {
7878 * The release flag is supported only on JDK 9 and above, since it relies on the functionality
7979 * provided in [[http://openjdk.java.net/jeps/247 JEP-247: Compile for Older Platform Versions ]].
8080 */
81- @ deprecated(" Use javaOutputVersion instead" , " 3.1.2" )
8281 def release (version : String ) =
8382 ScalacOption (
8483 " -release" ,
8584 List (version),
86- version => JavaMajorVersion .javaMajorVersion >= 9 && version >= V2_12_5
85+ version => JavaMajorVersion .javaMajorVersion >= 9 && version >= V2_12_5 && version < V3_1_2
8786 )
8887
8988 /** Enable features that will be available in a future version of Scala, for purposes of early
You can’t perform that action at this time.
0 commit comments