diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-16 03:40:58 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-16 03:42:08 -0800 |
commit | 28dbe29a2ab566249642e81405a953f33507828a (patch) | |
tree | f70dae7ddd6b741b040d585d85a135c58b920a96 /scalaplugin/src/test/resource/acyclic/build.sbt | |
parent | c2a3514c70ad357f73c0ed209966616e01f9d703 (diff) | |
download | mill-28dbe29a2ab566249642e81405a953f33507828a.tar.gz mill-28dbe29a2ab566249642e81405a953f33507828a.tar.bz2 mill-28dbe29a2ab566249642e81405a953f33507828a.zip |
Vendor `com.lihaoyi:acyclic` codebase as a cross-building example, first non-working experiments in cross building working...
Diffstat (limited to 'scalaplugin/src/test/resource/acyclic/build.sbt')
-rw-r--r-- | scalaplugin/src/test/resource/acyclic/build.sbt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/scalaplugin/src/test/resource/acyclic/build.sbt b/scalaplugin/src/test/resource/acyclic/build.sbt new file mode 100644 index 00000000..3fd0f8e4 --- /dev/null +++ b/scalaplugin/src/test/resource/acyclic/build.sbt @@ -0,0 +1,49 @@ + +organization := "com.lihaoyi" + +name := "acyclic" + +version := "0.1.7" + +scalaVersion := "2.11.8" + +crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0") + +resolvers += Resolver.sonatypeRepo("releases") + +libraryDependencies ++= Seq( + "com.lihaoyi" %% "utest" % "0.4.4" % "test", + "org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided" +) + +testFrameworks += new TestFramework("utest.runner.Framework") + +unmanagedSourceDirectories in Test <+= baseDirectory(_ / "src" / "test" / "resources") + +// Sonatype +publishArtifact in Test := false + +publishTo <<= version { (v: String) => + Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2") +} + +pomExtra := ( + <url>https://github.com/lihaoyi/acyclic</url> + <licenses> + <license> + <name>MIT license</name> + <url>http://www.opensource.org/licenses/mit-license.php</url> + </license> + </licenses> + <scm> + <url>git://github.com/lihaoyi/utest.git</url> + <connection>scm:git://github.com/lihaoyi/acyclic.git</connection> + </scm> + <developers> + <developer> + <id>lihaoyi</id> + <name>Li Haoyi</name> + <url>https://github.com/lihaoyi</url> + </developer> + </developers> + ) |