diff options
Diffstat (limited to 'integration/src/test/resources/acyclic/build.sc')
-rw-r--r-- | integration/src/test/resources/acyclic/build.sc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/integration/src/test/resources/acyclic/build.sc b/integration/src/test/resources/acyclic/build.sc new file mode 100644 index 00000000..f1381c7e --- /dev/null +++ b/integration/src/test/resources/acyclic/build.sc @@ -0,0 +1,39 @@ +import mill.define.Cross +import mill.CrossModule +import mill.scalalib.{SbtModule, PublishModule, Dep} +import mill.scalalib.publish.{PomSettings, License, Developer, SCM} + +object acyclic extends CrossModule(AcyclicModule, "2.10.6", "2.11.8", "2.12.3", "2.12.4") +case class AcyclicModule(crossVersion: String) extends SbtModule with PublishModule { + def basePath = super.basePath / ammonite.ops.up + def artifactName = "acyclic" + def publishVersion = "0.1.7" + + def pomSettings = PomSettings( + description = artifactName(), + organization = "com.lihaoyi", + url = "https://github.com/lihaoyi/acyclic", + licenses = Seq( + License("MIT license", "http://www.opensource.org/licenses/mit-license.php") + ), + scm = SCM( + "git://github.com/lihaoyi/acyclic.git", + "scm:git://github.com/lihaoyi/acyclic.git" + ), + developers = Seq( + Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi") + ) + ) + + def scalaVersion = crossVersion + def ivyDeps = Seq( + Dep.Java("org.scala-lang", "scala-compiler", scalaVersion()) + ) + object test extends Tests{ + def forkWorkingDir = ammonite.ops.pwd / 'target / 'workspace / 'acyclic + def ivyDeps = Seq( + Dep("com.lihaoyi", "utest", "0.6.0") + ) + def testFramework = "utest.runner.Framework" + } +}
\ No newline at end of file |