Add publishing config
This commit is contained in:
parent
18c0f6ea7a
commit
a6f22e0a08
40
build.sc
40
build.sc
|
@ -2,26 +2,30 @@ import mill._, scalalib._, publish._
|
||||||
import $ivy.`com.lihaoyi::mill-contrib-bloop:0.9.5`
|
import $ivy.`com.lihaoyi::mill-contrib-bloop:0.9.5`
|
||||||
|
|
||||||
object copret extends ScalaModule with PublishModule {
|
object copret extends ScalaModule with PublishModule {
|
||||||
def scalaVersion = "3.1.0"
|
def scalaVersion = "3.1.0"
|
||||||
override def ammoniteVersion = "2.5.3"
|
override def ammoniteVersion = "2.5.3"
|
||||||
|
|
||||||
|
|
||||||
def publishVersion = "0.0.1"
|
def publishVersion = "0.0.1-SNAPSHOT"
|
||||||
def pomSettings = PomSettings(
|
def pomSettings = PomSettings(
|
||||||
description = "Use ammonite scripts for command line presentations",
|
description = "Use ammonite scripts for command line presentations",
|
||||||
organization = "de.qwertyuiop",
|
organization = "de.qwertyuiop",
|
||||||
versionControl = VersionControl.github("crater2150", "copret"),
|
versionControl = VersionControl(
|
||||||
url = "https://qwertyuiop.de/copret/",
|
browsableRepository = Some("https://git.qwertyuiop.de/crater2150/copret"),
|
||||||
licenses = Seq(License.MIT),
|
connection = Some(VersionControlConnection.gitHttps("git.qwertyuiop.de", "crater2150/copret.git")),
|
||||||
developers = Seq(
|
developerConnection = Some(VersionControlConnection.gitSsh(
|
||||||
Developer("crater2150", "Alexander Gehrke", "https://github.com/crater2150")
|
"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"))
|
||||||
|
)
|
||||||
|
|
||||||
def ivyDeps = Agg(
|
def ivyDeps = Agg(
|
||||||
ivy"org.jline:jline:3.19.0",
|
ivy"org.jline:jline:3.19.0",
|
||||||
ivy"com.lihaoyi::ammonite-ops:2.3.8".withDottyCompat(scalaVersion()),
|
ivy"com.lihaoyi::ammonite-ops:2.3.8".withDottyCompat(scalaVersion()),
|
||||||
ivy"com.lihaoyi::fansi:0.2.14",
|
ivy"com.lihaoyi::fansi:0.2.14",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue