2021-02-19 14:46:41 +00:00
|
|
|
import mill._, scalalib._, publish._
|
|
|
|
import $ivy.`com.lihaoyi::mill-contrib-bloop:0.9.5`
|
|
|
|
|
|
|
|
object copret extends ScalaModule with PublishModule {
|
2022-05-23 21:54:07 +00:00
|
|
|
def scalaVersion = "3.1.0"
|
|
|
|
override def ammoniteVersion = "2.5.3"
|
2022-05-14 09:07:59 +00:00
|
|
|
|
2021-02-19 14:46:41 +00:00
|
|
|
|
2022-09-21 13:50:20 +00:00
|
|
|
def publishVersion = "0.0.2-SNAPSHOT"
|
2022-05-23 21:54:07 +00:00
|
|
|
def pomSettings = PomSettings(
|
|
|
|
description = "Use ammonite scripts for command line presentations",
|
|
|
|
organization = "de.qwertyuiop",
|
|
|
|
versionControl = VersionControl(
|
|
|
|
browsableRepository = Some("https://git.qwertyuiop.de/crater2150/copret"),
|
|
|
|
connection = Some(VersionControlConnection.gitHttps("git.qwertyuiop.de", "crater2150/copret.git")),
|
|
|
|
developerConnection = Some(VersionControlConnection.gitSsh(
|
|
|
|
"qwertyuiop.de", "crater2150/copret.git", username = Some("git")
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
url = "https://qwertyuiop.de/copret/",
|
|
|
|
licenses = Seq(License.MIT),
|
|
|
|
developers = Seq(Developer("crater2150", "Alexander Gehrke", "https://git.qwertyuiop.de/crater2150"))
|
|
|
|
)
|
2021-02-19 14:46:41 +00:00
|
|
|
|
2022-05-23 21:54:07 +00:00
|
|
|
def ivyDeps = Agg(
|
|
|
|
ivy"org.jline:jline:3.19.0",
|
|
|
|
ivy"com.lihaoyi::ammonite-ops:2.3.8".withDottyCompat(scalaVersion()),
|
|
|
|
ivy"com.lihaoyi::fansi:0.2.14",
|
|
|
|
)
|
2021-02-19 14:46:41 +00:00
|
|
|
}
|
|
|
|
|