@@ -1623,24 +1623,18 @@ lazy val `distage-core-proxy-bytebuddy` = project.in(file("distage/distage-core-
1623
1623
)
1624
1624
.disablePlugins(AssemblyPlugin )
1625
1625
1626
- lazy val `distage-core ` = project.in(file(" distage/distage-core " ))
1626
+ lazy val `distage-framework-api ` = project.in(file(" distage/distage-framework-api " ))
1627
1627
.dependsOn(
1628
- `distage-core-api` % " test->compile;compile->compile" ,
1629
- `distage-core-proxy-bytebuddy` % " test->compile;compile->compile"
1628
+ `distage-core-api` % " test->compile;compile->compile"
1630
1629
)
1631
1630
.settings(
1632
1631
libraryDependencies ++= Seq (
1633
1632
" org.scala-lang.modules" %% " scala-collection-compat" % V .collection_compat,
1634
- " org.scalatest" %% " scalatest" % V .scalatest % Test ,
1635
- " org.typelevel" %% " cats-core" % V .cats % Optional ,
1636
- " org.typelevel" %% " cats-effect" % V .cats_effect % Optional ,
1637
- " dev.zio" %% " zio" % V .zio % Optional excludeAll(" dev.zio" %% " izumi-reflect" ),
1638
- " dev.zio" %% " izumi-reflect" % V .izumi_reflect % Optional ,
1639
- " dev.zio" %% " zio-interop-cats" % V .zio_interop_cats % Optional excludeAll(" dev.zio" %% " izumi-reflect" ),
1640
- " javax.inject" % " javax.inject" % " 1" % Test
1633
+ " org.scalatest" %% " scalatest" % V .scalatest % Test
1641
1634
),
1642
1635
libraryDependencies ++= { if (scalaVersion.value.startsWith(" 2." )) Seq (
1643
- compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full)
1636
+ compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full),
1637
+ " org.scala-lang" % " scala-reflect" % scalaVersion.value % Provided
1644
1638
) else Seq .empty }
1645
1639
)
1646
1640
.settings(
@@ -1769,21 +1763,24 @@ lazy val `distage-core` = project.in(file("distage/distage-core"))
1769
1763
)
1770
1764
.disablePlugins(AssemblyPlugin )
1771
1765
1772
- lazy val `distage-extension-config ` = project.in(file(" distage/distage-extension-config " ))
1766
+ lazy val `distage-core ` = project.in(file(" distage/distage-core " ))
1773
1767
.dependsOn(
1774
1768
`distage-core-api` % " test->compile;compile->compile" ,
1775
- `distage-core` % " test->compile"
1769
+ `distage-core-proxy-bytebuddy ` % " test->compile;compile ->compile"
1776
1770
)
1777
1771
.settings(
1778
1772
libraryDependencies ++= Seq (
1779
1773
" org.scala-lang.modules" %% " scala-collection-compat" % V .collection_compat,
1780
- " org.scalatest" %% " scalatest" % V .scalatest % Test
1774
+ " org.scalatest" %% " scalatest" % V .scalatest % Test ,
1775
+ " org.typelevel" %% " cats-core" % V .cats % Optional ,
1776
+ " org.typelevel" %% " cats-effect" % V .cats_effect % Optional ,
1777
+ " dev.zio" %% " zio" % V .zio % Optional excludeAll(" dev.zio" %% " izumi-reflect" ),
1778
+ " dev.zio" %% " izumi-reflect" % V .izumi_reflect % Optional ,
1779
+ " dev.zio" %% " zio-interop-cats" % V .zio_interop_cats % Optional excludeAll(" dev.zio" %% " izumi-reflect" ),
1780
+ " javax.inject" % " javax.inject" % " 1" % Test
1781
1781
),
1782
1782
libraryDependencies ++= { if (scalaVersion.value.startsWith(" 2." )) Seq (
1783
- compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full),
1784
- " com.github.pureconfig" %% " pureconfig-magnolia" % V .pureconfig,
1785
- " com.propensive" %% " magnolia" % V .magnolia,
1786
- " org.scala-lang" % " scala-reflect" % scalaVersion.value % Provided
1783
+ compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full)
1787
1784
) else Seq .empty }
1788
1785
)
1789
1786
.settings(
@@ -1908,45 +1905,25 @@ lazy val `distage-extension-config` = project.in(file("distage/distage-extension
1908
1905
" -opt-inline-from:izumi.**"
1909
1906
)
1910
1907
case (_, _) => Seq .empty
1911
- } },
1912
- Compile / unmanagedSourceDirectories ++= {
1913
- val version = scalaVersion.value
1914
- val crossVersions = crossScalaVersions.value
1915
- import Ordering .Implicits ._
1916
- val ltEqVersions = crossVersions.map(CrossVersion .partialVersion).filter(_ <= CrossVersion .partialVersion(version)).flatten
1917
- (Compile / unmanagedSourceDirectories).value.flatMap {
1918
- case dir if dir.getPath.endsWith(" scala" ) => ltEqVersions.map { case (m, n) => file(dir.getPath + s " - $m. $n+ " ) }
1919
- case _ => Seq .empty
1920
- }
1921
- },
1922
- Test / unmanagedSourceDirectories ++= {
1923
- val version = scalaVersion.value
1924
- val crossVersions = crossScalaVersions.value
1925
- import Ordering .Implicits ._
1926
- val ltEqVersions = crossVersions.map(CrossVersion .partialVersion).filter(_ <= CrossVersion .partialVersion(version)).flatten
1927
- (Test / unmanagedSourceDirectories).value.flatMap {
1928
- case dir if dir.getPath.endsWith(" scala" ) => ltEqVersions.map { case (m, n) => file(dir.getPath + s " - $m. $n+ " ) }
1929
- case _ => Seq .empty
1930
- }
1931
- }
1908
+ } }
1932
1909
)
1933
1910
.disablePlugins(AssemblyPlugin )
1934
1911
1935
- lazy val `distage-extension-plugins ` = project.in(file(" distage/distage-extension-plugins " ))
1912
+ lazy val `distage-extension-config ` = project.in(file(" distage/distage-extension-config " ))
1936
1913
.dependsOn(
1937
1914
`distage-core-api` % " test->compile;compile->compile" ,
1938
- `distage-core` % " test->compile" ,
1939
- `distage-extension-config` % " test->compile" ,
1940
- `logstage-core` % " test->compile"
1915
+ `distage-core` % " test->compile"
1941
1916
)
1942
1917
.settings(
1943
1918
libraryDependencies ++= Seq (
1944
1919
" org.scala-lang.modules" %% " scala-collection-compat" % V .collection_compat,
1945
1920
" org.scalatest" %% " scalatest" % V .scalatest % Test ,
1946
- " io .github.classgraph " % " classgraph " % V .classgraph
1921
+ " com .github.pureconfig " %% " pureconfig-core " % V .pureconfig
1947
1922
),
1948
1923
libraryDependencies ++= { if (scalaVersion.value.startsWith(" 2." )) Seq (
1949
1924
compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full),
1925
+ " com.github.pureconfig" %% " pureconfig-magnolia" % V .pureconfig,
1926
+ " com.propensive" %% " magnolia" % V .magnolia,
1950
1927
" org.scala-lang" % " scala-reflect" % scalaVersion.value % Provided
1951
1928
) else Seq .empty }
1952
1929
)
@@ -2072,25 +2049,46 @@ lazy val `distage-extension-plugins` = project.in(file("distage/distage-extensio
2072
2049
" -opt-inline-from:izumi.**"
2073
2050
)
2074
2051
case (_, _) => Seq .empty
2075
- } }
2052
+ } },
2053
+ Compile / unmanagedSourceDirectories ++= {
2054
+ val version = scalaVersion.value
2055
+ val crossVersions = crossScalaVersions.value
2056
+ import Ordering .Implicits ._
2057
+ val ltEqVersions = crossVersions.map(CrossVersion .partialVersion).filter(_ <= CrossVersion .partialVersion(version)).flatten
2058
+ (Compile / unmanagedSourceDirectories).value.flatMap {
2059
+ case dir if dir.getPath.endsWith(" scala" ) => ltEqVersions.map { case (m, n) => file(dir.getPath + s " - $m. $n+ " ) }
2060
+ case _ => Seq .empty
2061
+ }
2062
+ },
2063
+ Test / unmanagedSourceDirectories ++= {
2064
+ val version = scalaVersion.value
2065
+ val crossVersions = crossScalaVersions.value
2066
+ import Ordering .Implicits ._
2067
+ val ltEqVersions = crossVersions.map(CrossVersion .partialVersion).filter(_ <= CrossVersion .partialVersion(version)).flatten
2068
+ (Test / unmanagedSourceDirectories).value.flatMap {
2069
+ case dir if dir.getPath.endsWith(" scala" ) => ltEqVersions.map { case (m, n) => file(dir.getPath + s " - $m. $n+ " ) }
2070
+ case _ => Seq .empty
2071
+ }
2072
+ }
2076
2073
)
2077
2074
.disablePlugins(AssemblyPlugin )
2078
2075
2079
- lazy val `distage-extension-logstage ` = project.in(file(" distage/distage-extension-logstage " ))
2076
+ lazy val `distage-extension-plugins ` = project.in(file(" distage/distage-extension-plugins " ))
2080
2077
.dependsOn(
2081
- `distage-extension-config` % " test->compile;compile->compile" ,
2082
2078
`distage-core-api` % " test->compile;compile->compile" ,
2083
2079
`distage-core` % " test->compile" ,
2084
- `logstage-core` % " test->test;compile->compile"
2080
+ `distage-extension-config` % " test->compile" ,
2081
+ `logstage-core` % " test->compile"
2085
2082
)
2086
2083
.settings(
2087
2084
libraryDependencies ++= Seq (
2088
2085
" org.scala-lang.modules" %% " scala-collection-compat" % V .collection_compat,
2089
2086
" org.scalatest" %% " scalatest" % V .scalatest % Test ,
2090
- " dev.zio " %% " zio " % V .zio % Test excludeAll( " dev.zio " %% " izumi-reflect " )
2087
+ " io.github.classgraph " % " classgraph " % V .classgraph
2091
2088
),
2092
2089
libraryDependencies ++= { if (scalaVersion.value.startsWith(" 2." )) Seq (
2093
- compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full)
2090
+ compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full),
2091
+ " org.scala-lang" % " scala-reflect" % scalaVersion.value % Provided
2094
2092
) else Seq .empty }
2095
2093
)
2096
2094
.settings(
@@ -2219,18 +2217,21 @@ lazy val `distage-extension-logstage` = project.in(file("distage/distage-extensi
2219
2217
)
2220
2218
.disablePlugins(AssemblyPlugin )
2221
2219
2222
- lazy val `distage-framework-api ` = project.in(file(" distage/distage-framework-api " ))
2220
+ lazy val `distage-extension-logstage ` = project.in(file(" distage/distage-extension-logstage " ))
2223
2221
.dependsOn(
2224
- `distage-core-api` % " test->compile;compile->compile"
2222
+ `distage-extension-config` % " test->compile;compile->compile" ,
2223
+ `distage-core-api` % " test->compile;compile->compile" ,
2224
+ `distage-core` % " test->compile" ,
2225
+ `logstage-core` % " test->test;compile->compile"
2225
2226
)
2226
2227
.settings(
2227
2228
libraryDependencies ++= Seq (
2228
2229
" org.scala-lang.modules" %% " scala-collection-compat" % V .collection_compat,
2229
- " org.scalatest" %% " scalatest" % V .scalatest % Test
2230
+ " org.scalatest" %% " scalatest" % V .scalatest % Test ,
2231
+ " dev.zio" %% " zio" % V .zio % Test excludeAll(" dev.zio" %% " izumi-reflect" )
2230
2232
),
2231
2233
libraryDependencies ++= { if (scalaVersion.value.startsWith(" 2." )) Seq (
2232
- compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full),
2233
- " org.scala-lang" % " scala-reflect" % scalaVersion.value % Provided
2234
+ compilerPlugin(" org.typelevel" % " kind-projector" % V .kind_projector cross CrossVersion .full)
2234
2235
) else Seq .empty }
2235
2236
)
2236
2237
.settings(
@@ -3555,11 +3556,11 @@ lazy val `microsite` = project.in(file("doc/microsite"))
3555
3556
`fundamentals-bio` % " test->compile;compile->compile" ,
3556
3557
`distage-core-api` % " test->compile;compile->compile" ,
3557
3558
`distage-core-proxy-bytebuddy` % " test->compile;compile->compile" ,
3559
+ `distage-framework-api` % " test->compile;compile->compile" ,
3558
3560
`distage-core` % " test->compile;compile->compile" ,
3559
3561
`distage-extension-config` % " test->compile;compile->compile" ,
3560
3562
`distage-extension-plugins` % " test->compile;compile->compile" ,
3561
3563
`distage-extension-logstage` % " test->compile;compile->compile" ,
3562
- `distage-framework-api` % " test->compile;compile->compile" ,
3563
3564
`distage-framework` % " test->compile;compile->compile" ,
3564
3565
`distage-framework-docker` % " test->compile;compile->compile" ,
3565
3566
`distage-testkit-core` % " test->compile;compile->compile" ,
@@ -3966,11 +3967,11 @@ lazy val `distage` = (project in file(".agg/distage-distage"))
3966
3967
.aggregate(
3967
3968
`distage-core-api`,
3968
3969
`distage-core-proxy-bytebuddy`,
3970
+ `distage-framework-api`,
3969
3971
`distage-core`,
3970
3972
`distage-extension-config`,
3971
3973
`distage-extension-plugins`,
3972
3974
`distage-extension-logstage`,
3973
- `distage-framework-api`,
3974
3975
`distage-framework`,
3975
3976
`distage-framework-docker`,
3976
3977
`distage-testkit-core`,
@@ -3990,11 +3991,11 @@ lazy val `distage-jvm` = (project in file(".agg/distage-distage-jvm"))
3990
3991
.aggregate(
3991
3992
`distage-core-api`,
3992
3993
`distage-core-proxy-bytebuddy`,
3994
+ `distage-framework-api`,
3993
3995
`distage-core`,
3994
3996
`distage-extension-config`,
3995
3997
`distage-extension-plugins`,
3996
3998
`distage-extension-logstage`,
3997
- `distage-framework-api`,
3998
3999
`distage-framework`,
3999
4000
`distage-framework-docker`,
4000
4001
`distage-testkit-core`,
0 commit comments