-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
50 lines (42 loc) · 1.57 KB
/
Copy pathbuild.sbt
File metadata and controls
50 lines (42 loc) · 1.57 KB
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
lazy val V = _root_.scalafix.sbt.BuildInfo
val Scala213 = "2.13.18"
inThisBuild(
List(
tlBaseVersion := "1.0",
organization := "org.polyvariant",
organizationName := "Polyvariant",
startYear := Some(2026),
scalaVersion := Scala213,
licenses := Seq(License.Apache2),
developers := List(tlGitHubDev("kubukoz", "Jakub Kozłowski")),
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision,
tlFatalWarnings := false,
)
)
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / mergifyStewardConfig ~= (_.map(_.withMergeMinors(true)))
lazy val root = (project in file("."))
.aggregate(rules, tests)
.enablePlugins(NoPublishPlugin)
lazy val rules = project
.settings(
name := "SlowInferenceChain",
moduleName := "SlowInferenceChain",
libraryDependencies += "ch.epfl.scala" %% "scalafix-core" % V.scalafixVersion,
)
lazy val input = project
.enablePlugins(NoPublishPlugin)
lazy val output = project
.enablePlugins(NoPublishPlugin)
lazy val tests = project
.settings(
scalafixTestkitOutputSourceDirectories := (output / Compile / unmanagedSourceDirectories).value,
scalafixTestkitInputSourceDirectories := (input / Compile / unmanagedSourceDirectories).value,
scalafixTestkitInputClasspath := (input / Compile / fullClasspath).value,
scalafixTestkitInputScalacOptions := (input / Compile / scalacOptions).value,
scalafixTestkitInputScalaVersion := (input / Compile / scalaVersion).value,
)
.dependsOn(rules)
.enablePlugins(ScalafixTestkitPlugin)
.enablePlugins(NoPublishPlugin)