Skip to content

Commit 18b4b19

Browse files
author
Oron Port
committed
drop plugin changes for scalac 3.4
1 parent 9ce581c commit 18b4b19

File tree

3 files changed

+0
-36
lines changed

3 files changed

+0
-36
lines changed

build.sbt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,12 @@ lazy val internals = project
5252
libraryDependencies ++= commonDependencies
5353
)
5454

55-
def additionalSources(scalaVersion: String, base: File): Seq[File] = {
56-
CrossVersion.partialVersion(scalaVersion) match {
57-
case Some((3, minor)) if minor <= 4 =>
58-
Seq(base / "src" / "main" / "scala-3.4-")
59-
case Some((3, minor)) if minor >= 5 =>
60-
Seq(base / "src" / "main" / "scala-3.5+")
61-
case _ =>
62-
Seq.empty
63-
}
64-
}
6555
lazy val plugin = project
6656
.settings(
6757
name := s"$projectName-plugin",
6858
settings,
6959
crossTarget := target.value / s"scala-${scalaVersion.value}", // workaround for https://github.com/sbt/sbt/issues/5097
7060
crossVersion := CrossVersion.full,
71-
Compile / unmanagedSourceDirectories ++= {
72-
val base = baseDirectory.value
73-
additionalSources(scalaVersion.value, base)
74-
},
7561
libraryDependencies += "org.scala-lang" %% "scala3-compiler" % compilerVersion % "provided"
7662
).dependsOn(internals)
7763

plugin/src/main/scala-3.4-/plugin/Plugin.scala

Lines changed: 0 additions & 22 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)