…lines 1–37 unchanged (37 lines)
38 }
39 case p => {
40 sys.error("unknown xerial.profile:%s".format(p))
41 }
42 }
43 }
44 lazy val defaultJavacOptions = Seq("-encoding", "UTF-8", "-source", "1.6")
45
46 lazy val buildSettings = Defaults.defaultSettings ++ releaseSettings ++ Seq[Setting[_]](
47 organization := "org.xerial.java",
48 organizationName := "Xerial Project",
49 organizationHomepage := Some(new URL("http://xerial.org/")),
50 description := "Xerial: Data Management Utiilities",
51 scalaVersion := SCALA_VERSION,
52 autoScalaLibrary := false,
53 publishMavenStyle := true,
54 publishArtifact in Test := false,
55 publishTo <<= version { (v) => Some(releaseResolver(v)) },
56 pomIncludeRepository := {
57 _ => false
58 },
59 parallelExecution := true,
60 parallelExecution in Test := false,
61 crossPaths := false,
62 javacOptions in Compile := defaultJavacOptions ++ Seq("-target", "1.6"),
63 javacOptions in Compile in doc := defaultJavacOptions ++ Seq("-windowtitle", "Xerial API", "-linkoffline", "http://docs.oracle.com/javase/6/docs/api/", "http://docs.oracle.com/javase/6/docs/api/"),
64 pomExtra := {
65 <url>http://xerial.org/</url>
66 <licenses>
67 <license>
68 <name>Apache 2</name>
69 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
70 </license>
71 </licenses>
72 <scm>
73 <connection>scm:git:github.com/xerial/xerial-java.git</connection>
74 <developerConnection>scm:git:git@github.com:xerial/xerial-java.git</developerConnection>
75 <url>github.com/xerial/xerial-java.git</url>
76 </scm>
77 <properties>
78 <scala.version>{SCALA_VERSION}</scala.version>
79 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
80 </properties>
81 <developers>
82 <developer>
83 <id>leo</id>
84 <name>Taro L. Saito</name>
…lines 85–159 unchanged (75 lines)
160 )
161 ) dependsOn (core % dependentScope)
162
163 object Dependencies {
164 val testLib = Seq(
165 "junit" % "junit" % "4.10" % "test",
166// "org.scalatest" %% "scalatest" % "2.0.M5b" % "test",
167 "com.novocode" % "junit-interface" % "0.10-M2" % "test"
168 )
169 }
170
171}
172
…lines 173–180 unchanged (8 lines)