forked from com-lihaoyi/requests-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sc
31 lines (29 loc) · 1.06 KB
/
build.sc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import mill._
import mill.scalalib.publish.{Developer, License, PomSettings, VersionControl}
import scalalib._
val dottyVersion = Option(sys.props("dottyVersion"))
object requests extends Cross[RequestsModule]((List("2.12.6", "2.13.0", "3.0.0-M2") ++ dottyVersion): _*)
class RequestsModule(val crossScalaVersion: String) extends CrossScalaModule with PublishModule {
def publishVersion = "0.6.5"
def artifactName = "requests"
def pomSettings = PomSettings(
description = "Scala port of the popular Python Requests HTTP client",
organization = "com.lihaoyi",
url = "https://github.com/lihaoyi/requests",
licenses = Seq(License.MIT),
versionControl = VersionControl.github("lihaoyi", "requests-scala"),
developers = Seq(
Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi")
)
)
def ivyDeps = Agg(
ivy"com.lihaoyi::geny::0.6.2"
)
object test extends Tests{
def ivyDeps = Agg(
ivy"com.lihaoyi::utest::0.7.5",
ivy"com.lihaoyi::ujson::1.2.2"
)
def testFrameworks = Seq("utest.runner.Framework")
}
}