Browse Source
Stop using old inliner syntax with Scala 2.13
master
Sarah Gerweck
6 years ago
No known key found for this signature in database
GPG Key ID: AFCB37207DB3F226
1 changed files with
1 additions and
1 deletions
-
project/Helpers.scala
|
|
@ -28,7 +28,7 @@ object HelpersImpl { |
|
|
|
} |
|
|
|
|
|
|
|
final lazy val forceOldInlineSyntax: Def.Initialize[Boolean] = { |
|
|
|
val pat = """(?x)^ (?: 2\.12\.[0-2] (?:[^\d].*)? ) | (?: 2\.13\.0 .+ ) $""".r |
|
|
|
val pat = """(?x)^ 2\.12\.[0-2] (?:[^\d].*)? $""".r |
|
|
|
Def.map(scalaVersion) { |
|
|
|
case pat() => true |
|
|
|
case _ => false |
|
|
|