-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
53 lines (48 loc) · 1.51 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
lazy val V = _root_.scalafix.sbt.BuildInfo
inThisBuild(
List(
organization := "ch.epfl.scala",
homepage := Some(url("https://github.com/kotleta2007/scala3-syntax-rewrite")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"kotleta2007",
"Mark Tropin",
"mark.tropin@epfl.ch",
url("https://epfl.ch")
)
),
scalaVersion := V.scala213,
scalacOptions ++= List("-Yrangepos")
// classLoaderLayeringStrategy in Compile := ClassLoaderLayeringStrategy.Flat
)
)
(publish / skip) := true
lazy val rules = project.settings(
moduleName := "named-literal-arguments",
libraryDependencies += "ch.epfl.scala" %% "scalafix-core" % V.scalafixVersion
)
lazy val input = project.settings(
scalaVersion := "3.3.1",
(publish / skip) := true,
semanticdbEnabled := true,
semanticdbIncludeInJar := true,
)
lazy val output = project.settings(
scalaVersion := "3.3.1",
(publish / skip) := true
)
lazy val tests = project
.settings(
scalaVersion := "2.13.12",
(publish / skip) := true,
scalafixTestkitOutputSourceDirectories :=
(output / Compile / unmanagedSourceDirectories).value,
scalafixTestkitInputSourceDirectories :=
(input / Compile / unmanagedSourceDirectories).value,
scalafixTestkitInputClasspath :=
(input / Compile / fullClasspath).value,
scalafixTestkitInputScalaVersion := "3.3.1",
)
.dependsOn(rules)
.enablePlugins(ScalafixTestkitPlugin)