Stop using old inliner syntax with Scala 2.13
This commit is contained in:
parent
3f922dfce8
commit
113ebb27cb
@ -28,7 +28,7 @@ object HelpersImpl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final lazy val forceOldInlineSyntax: Def.Initialize[Boolean] = {
|
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) {
|
Def.map(scalaVersion) {
|
||||||
case pat() => true
|
case pat() => true
|
||||||
case _ => false
|
case _ => false
|
||||||
|
Loading…
Reference in New Issue
Block a user