Skip to content

Commit b84cbda

Browse files
committed
Everything now builds. Partest is bombing about reflection issue.
1 parent d9ca44b commit b84cbda

File tree

3 files changed

+5
-153
lines changed

3 files changed

+5
-153
lines changed

project/Build.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,14 @@ object ScalaBuild extends Build with Layers {
148148
lazy val externalDeps: Setting[_] = libraryDependencies <<= (sbtVersion)(v =>
149149
Seq(
150150
"org.apache.ant" % "ant" % "1.8.2",
151-
"org.scala-tools.sbt" % "compiler-interface" % v % "provided"
151+
"org.scala-sbt" % "compiler-interface" % v % "provided"
152152
)
153153
)
154154

155155
// These are setting overrides for most artifacts in the Scala build file.
156156
def settingOverrides: Seq[Setting[_]] = publishSettings ++ Seq(
157157
crossPaths := false,
158+
autoScalaLibrary := false,
158159
publishArtifact in packageDoc := false,
159160
publishArtifact in packageSrc := false,
160161
target <<= (baseDirectory, name) apply (_ / "target" / _),
@@ -170,7 +171,7 @@ object ScalaBuild extends Build with Layers {
170171
skip in Compile <<= lockFile.map(_ exists),
171172
lock <<= lockFile map { f => IO.touch(f) },
172173
unlock <<= lockFile map IO.delete
173-
) ++ CheatingCompilerSettings.settings
174+
)
174175

175176
// --------------------------------------------------------------
176177
// Libraries used by Scalac that change infrequently
@@ -327,7 +328,7 @@ object ScalaBuild extends Build with Layers {
327328
// Testing
328329
// --------------------------------------------------------------
329330
/* lazy val scalacheckSettings: Seq[Setting[_]] = Seq(fullQuickScalaReference, crossPaths := false)*/
330-
lazy val scalacheck = uri("git://github.com/rickynils/scalacheck.git")
331+
lazy val scalacheck = uri("git://github.com/jsuereth/scalacheck.git#scala-build")
331332

332333
lazy val testsuiteSettings: Seq[Setting[_]] = compilerDependentProjectSettings ++ partestTaskSettings ++ VerifyClassLoad.settings ++ Seq(
333334
unmanagedBase <<= baseDirectory / "test/files/lib",
@@ -518,7 +519,7 @@ object ScalaBuild extends Build with Layers {
518519
// Add in some more dependencies
519520
makeDistMappings <<= (makeDistMappings,
520521
packageBin in swing in Compile) map {
521-
(dist, s, d) =>
522+
(dist, s) =>
522523
dist ++ Seq(s -> "lib/scala-swing.jar")
523524
},
524525
makeDist <<= (makeDistMappings, baseDirectory, streams) map { (maps, dir, s) =>

project/CheatingComponentCompiler.scala

Lines changed: 0 additions & 148 deletions
This file was deleted.

project/Layers.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ trait Layers extends Build {
7070
resourceDirectory in Compile <<= baseDirectory apply (_ / "src" / "compiler"),
7171
unmanagedSourceDirectories in Compile <+= (baseDirectory) apply (_ / "src" / "msil"),
7272
defaultExcludes := ("tests"),
73-
javacOptions ++= Seq("-source", "1.4"),
7473
defaultExcludes in unmanagedResources := "*.scala",
7574
resourceGenerators in Compile <+= (resourceManaged, Versions.scalaVersions, streams) map Versions.generateVersionPropertiesFile("compiler.properties"),
7675
// Note, we might be able to use the default task, but for some reason ant was filtering files out. Not sure what's up, but we'll

0 commit comments

Comments
 (0)