-
Notifications
You must be signed in to change notification settings - Fork 1
/
scalacheck.diff
76 lines (76 loc) · 2.57 KB
/
scalacheck.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
diff --git a/build.sbt b/build.sbt
new file mode 100644
index 0000000..a748718
--- /dev/null
+++ b/build.sbt
@@ -0,0 +1,24 @@
+name := "scalacheck"
+
+version := "1.9"
+
+organization := "org.scala-tools.testing"
+
+scalaVersion := "2.10.0-virtualized-SNAPSHOT"
+
+//needed because Sbt first tries to resolve the dependency and only then uses scalaHome...
+resolvers += "Local Maven Repository" at Path.userHome.asURL + "/.m2/repository"
+
+crossScalaVersions := Seq("2.9.0-1", "2.9.1.RC2", "2.9.1.RC3", "2.9.1")
+
+libraryDependencies += "org.scala-tools.testing" % "test-interface" % "0.5"
+
+javacOptions ++= Seq("-Xmx1024M")
+
+scalacOptions += "-deprecation"
+
+publishTo := Some("Scala Tools Nexus" at "http://nexus.scala-tools.org/content/repositories/snapshots/")
+
+// publishTo := Some("Scala Tools Nexus" at "http://nexus.scala-tools.org/content/repositories/releases/")
+
+credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
diff --git a/project/build.properties b/project/build.properties
index 9e0f5d8..f4ff7a5 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1,7 +1,1 @@
-project.name=scalacheck
-project.organization=org.scala-tools.testing
-project.version=1.9
-sbt.version=0.7.5
-def.scala.version=2.7.7
-build.scala.versions=2.9.0
-project.initialize=false
+sbt.version=0.11.3
diff --git a/project/build/ScalaCheckProject.scala b/project/build/ScalaCheckProject.scala
deleted file mode 100644
index aaf5cf3..0000000
--- a/project/build/ScalaCheckProject.scala
+++ /dev/null
@@ -1,27 +0,0 @@
-import sbt._
-
-class ScalaCheckProject(info: ProjectInfo) extends DefaultProject(info) {
-
- override def managedStyle = ManagedStyle.Maven
- override def packageDocsJar = defaultJarPath("-javadoc.jar")
- override def packageSrcJar= defaultJarPath("-sources.jar")
- override def packageToPublishActions =
- super.packageToPublishActions ++ Seq(packageDocs, packageSrc)
- override def deliverScalaDependencies = Nil
- override def documentOptions = Nil
-
- val scalaToolsReleases = "Scala Tools Releases" at
- "http://nexus.scala-tools.org/content/repositories/releases/"
-
- val scalaToolsSnapshots = "Scala Tools Snapshots" at
- "http://nexus.scala-tools.org/content/repositories/snapshots/"
-
- val publishTo = scalaToolsReleases
-
- val sourceArtifact = Artifact(artifactID, "src", "jar", Some("sources"), Nil, None)
- val docsArtifact = Artifact(artifactID, "docs", "jar", Some("javadoc"), Nil, None)
-
- val depTestInterface = "org.scala-tools.testing" % "test-interface" % "0.5"
-
- Credentials(Path.userHome / ".ivy2" / ".credentials", log)
-}