Skip to content

Commit 7399c14

Browse files
authored
Merge pull request #110 from xuwei-k/postfixOps
2 parents 03ee03a + a8aa585 commit 7399c14

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

project/Transform.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ object Transform {
6666
val ss = inputSources.value
6767
val sdirs = inputSourceDirectories.value
6868
val sm = sourceManaged.value
69-
(ss --- sdirs) pair (rebase(sdirs, sm) | flat(sm)) toSeq
69+
(ss --- sdirs).pair(rebase(sdirs, sm) | flat(sm)).toSeq
7070
}
7171
def configSettings = transResourceSettings ++ Seq(
7272
resourceProperties := {
@@ -95,7 +95,7 @@ object Transform {
9595
val rs = inputResources.value
9696
val rdirs = inputResourceDirectories.value
9797
val rm = resourceManaged.value
98-
(rs --- rdirs) pair (rebase(rdirs, rm) | flat(rm)) toSeq
98+
(rs --- rdirs).pair(rebase(rdirs, rm) | flat(rm)).toSeq
9999
}
100100

101101
def transform(in: File, out: File, map: Map[String, String]): File = {

project/plugins.sbt

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ addSbtPlugin("com.github.sbt" % "sbt-proguard" % "0.5.0")
77
addSbtPlugin("com.eed3si9n" % "sbt-nocomma" % "0.1.2")
88
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
99
addSbtPlugin("io.get-coursier" % "sbt-shading" % "2.1.5")
10+
11+
scalacOptions += "-feature"

0 commit comments

Comments
 (0)