File tree Expand file tree Collapse file tree 3 files changed +0
-36
lines changed Expand file tree Collapse file tree 3 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -52,26 +52,12 @@ lazy val internals = project
52
52
libraryDependencies ++= commonDependencies
53
53
)
54
54
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
- }
65
55
lazy val plugin = project
66
56
.settings(
67
57
name := s " $projectName-plugin " ,
68
58
settings,
69
59
crossTarget := target.value / s " scala- ${scalaVersion.value}" , // workaround for https://github.com/sbt/sbt/issues/5097
70
60
crossVersion := CrossVersion .full,
71
- Compile / unmanagedSourceDirectories ++= {
72
- val base = baseDirectory.value
73
- additionalSources(scalaVersion.value, base)
74
- },
75
61
libraryDependencies += " org.scala-lang" %% " scala3-compiler" % compilerVersion % " provided"
76
62
).dependsOn(internals)
77
63
Load Diff This file was deleted.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments