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

Scalameta: upgrade to v4.13.1 #4821

Merged
merged 1 commit into from
Feb 16, 2025
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ inThisBuild {
crossScalaVersions := List(scala213, scala212),
resolvers ++= Resolver.sonatypeOssRepos("releases"),
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
resolvers +=
"Sonatype Releases"
.at("https://oss.sonatype.org/content/repositories/releases"),
testFrameworks += new TestFramework("munit.Framework"),
// causes native image issues
dependencyOverrides += "org.jline" % "jline" % "3.29.0",
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._

object Dependencies {
val metaconfigV = "0.15.0"
val scalametaV = "4.13.0"
val scalametaV = "4.13.1.1"
val scalacheckV = "1.18.1"
val coursier = "2.1.24"
val munitV = "1.1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
package org.scalafmt.config

import org.scalafmt.sysops._

import munit.FunSuite

class ScalafmtConfigTest extends FunSuite {

override def munitIgnore: Boolean =
// TODO: remove when scala.meta.internal.io.NodeNIOPath works on Windows
PlatformCompat.isJS && OsSpecific.isWindows

test("project.matcher") {
val config = ScalafmtConfig.fromHoconString(
"""|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import scala.meta.dialects

class StandardProjectLayoutTest extends munit.FunSuite {

override def munitIgnore: Boolean =
// TODO: remove when scala.meta.internal.io.NodeNIOPath works on Windows
PlatformCompat.isJS && OsSpecific.isWindows

import ProjectFiles.Layout.StandardConvention._

Seq(
Expand Down
Loading