sbt / sbt-scalariform

sbt plugin adding support for source code formatting using Scalariform
258 stars 63 forks source link

Update version of scala-xml used to 2.x #85

Open guizmaii opened 1 year ago

guizmaii commented 1 year ago

Hi,

The Scala community has made an effort to update the version of scala-xml from 1.x to 2.x in all sbt plugins (See https://github.com/sbt/sbt/discussions/7075) It seems that this plugin is still using it. I experienced a compatibility issue when I tried to update some plugins in zio-quill, which is using sbt-scalariform.

normana400 commented 4 months ago

the scala-xml 1.x dependency also clashes with sbt-scoverage (which becomes a problem with scala 2.12.12 and newer as the scoverage plugin is dependant per increment of scala)

tkaszuba commented 3 months ago

the scala-xml 1.x dependency also clashes with sbt-scoverage (which becomes a problem with scala 2.12.12 and newer as the scoverage plugin is dependant per increment of scala)

Put this in your plugins.sbt file to work around this issue libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always

normana400 commented 3 months ago

thats a good workaround, but the next step I think is an official upgrade.