build: remove scala-2.13+ / scala-2.13- directories for now (#28894)
For the time being, we'll probably only support 2.12 and 2.13 so these special directories might not be needed right now. Follow up to #28888
This commit is contained in:
parent
304f8bd81c
commit
5eea9cddcf
1 changed files with 0 additions and 10 deletions
|
|
@ -117,16 +117,6 @@ object AkkaBuild {
|
||||||
|
|
||||||
crossVersion := CrossVersion.binary,
|
crossVersion := CrossVersion.binary,
|
||||||
|
|
||||||
// Adds a `src/main/scala-2.13+` source directory for Scala 2.13 and newer
|
|
||||||
// and a `src/main/scala-2.13-` source directory for Scala version older than 2.13
|
|
||||||
unmanagedSourceDirectories in Compile += {
|
|
||||||
val sourceDir = (sourceDirectory in Compile).value
|
|
||||||
CrossVersion.partialVersion(scalaVersion.value) match {
|
|
||||||
case Some((2, n)) if n >= 13 => sourceDir / "scala-2.13+"
|
|
||||||
case _ => sourceDir / "scala-2.13-"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
ivyLoggingLevel in ThisBuild := UpdateLogging.Quiet,
|
ivyLoggingLevel in ThisBuild := UpdateLogging.Quiet,
|
||||||
|
|
||||||
licenses := Seq(("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))),
|
licenses := Seq(("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue