diff --git a/cli/offline.sbt.txt b/cli/offline.sbt.txt deleted file mode 100644 index 9edf7425..00000000 --- a/cli/offline.sbt.txt +++ /dev/null @@ -1,48 +0,0 @@ -name := "scalaxb" - -version := "0.6.6-SNAPSHOT" - -organization := "org.scalaxb" - -scalaVersion := "2.9.1" - -crossScalaVersions := Seq("2.9.1", "2.9.0-1", "2.8.1") // Scala interpreter bug in 2.9.1 - -publishArtifact in (Compile, packageBin) := true - -publishArtifact in (Test, packageBin) := false - -publishArtifact in (Compile, packageDoc) := false - -publishArtifact in (Compile, packageSrc) := false - -resolvers += ScalaToolsSnapshots - -publishTo <<= version { (v: String) => - val nexus = "http://nexus.scala-tools.org/content/repositories/" - if(v endsWith "-SNAPSHOT") Some("Scala Tools Nexus" at nexus + "snapshots/") - else Some("Scala Tools Nexus" at nexus + "releases/") -} - -credentials += Credentials(Path.userHome / ".ivy2" / ".credentials") - -publishMavenStyle := true - -parallelExecution in Test := false - -libraryDependencies ++= Seq( - "com.github.scopt" %% "scopt" % "1.1.2", - "org.scala-tools.sbt" % "launcher-interface" % "0.7.4" % "provided" from ( - "http://databinder.net/repo/org.scala-tools.sbt/launcher-interface/0.7.4/jars/launcher-interface.jar"), - "com.weiglewilczek.slf4s" %% "slf4s" % "1.0.7", - "ch.qos.logback" % "logback-classic" % "0.9.29") - -unmanagedSourceDirectories in Compile <+= baseDirectory( _ / "src_managed" ) - -sourceGenerators in Compile <+= (sourceManaged in Compile, version) map { (dir, version) => - val file = dir / "version.scala" - IO.write(file, """package scalaxb -trait Version { val version = "%s" } -""".format(version)) - Seq(file) -}