Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update acyclic to 0.3.13 #304

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ val scalaVersions = Seq(
) ++ communityBuildDottyVersion

object Deps {
val acyclic = ivy"com.lihaoyi:::acyclic:0.3.12"
val acyclic = ivy"com.lihaoyi:::acyclic:0.3.13"
val jna = ivy"net.java.dev.jna:jna:5.14.0"
val geny = ivy"com.lihaoyi::geny::1.1.1"
val sourcecode = ivy"com.lihaoyi::sourcecode::0.4.2"
Expand Down Expand Up @@ -53,7 +53,19 @@ trait SafeDeps extends ScalaModule {

trait MiMaChecks extends Mima {
def mimaPreviousVersions =
Seq("0.9.0", "0.9.1", "0.9.2", "0.9.3", "0.10.0", "0.10.1", "0.10.2", "0.10.3", "0.10.4", "0.10.5", "0.10.6")
Seq(
"0.9.0",
"0.9.1",
"0.9.2",
"0.9.3",
"0.10.0",
"0.10.1",
"0.10.2",
"0.10.3",
"0.10.4",
"0.10.5",
"0.10.6"
)
override def mimaBinaryIssueFilters: T[Seq[ProblemFilter]] = Seq(
ProblemFilter.exclude[ReversedMissingMethodProblem]("os.PathConvertible.isCustomFs"),
// this is fine, because ProcessLike is sealed (and its subclasses should be final)
Expand Down Expand Up @@ -95,8 +107,8 @@ trait OsLibModule

trait OsModule extends OsLibModule { outer =>
def ivyDeps = Agg(Deps.geny)
override def compileIvyDeps = T{
val scalaReflectOpt = Option.when(!ZincWorkerUtil.isDottyOrScala3(scalaVersion())) (
override def compileIvyDeps = T {
val scalaReflectOpt = Option.when(!ZincWorkerUtil.isDottyOrScala3(scalaVersion()))(
Deps.scalaReflect(scalaVersion())
)
super.compileIvyDeps() ++ scalaReflectOpt
Expand All @@ -120,8 +132,8 @@ trait OsModule extends OsLibModule { outer =>

def scalaDocOptions = super.scalaDocOptions() ++ conditionalScalaDocOptions()

def generatedSources = T{
val conversions = for(i <- Range.inclusive(2, 22)) yield {
def generatedSources = T {
val conversions = for (i <- Range.inclusive(2, 22)) yield {
val ts = Range.inclusive(1, i).map(n => s"T$n").mkString(", ")
val fs = Range.inclusive(1, i).map(n => s"f$n: T$n => R").mkString(", ")
val vs = Range.inclusive(1, i).map(n => s"f$n(t._$n)").mkString(", ")
Expand Down