55 lines
1.4 KiB
Scala
55 lines
1.4 KiB
Scala
import $ivy.`com.lihaoyi::mill-contrib-bloop:$MILL_VERSION`
|
|
import mill._
|
|
import mill.main._
|
|
import mill.scalalib._
|
|
import coursier.maven.{ MavenRepository }
|
|
|
|
/*************************************************
|
|
*** The Vizier Backend
|
|
*************************************************/
|
|
object mimir_pip extends RootModule with ScalaModule {
|
|
val VERSION = "0.0.1-SNAPSHOT"
|
|
|
|
def scalaVersion = "2.12.15"
|
|
|
|
def mainClass = Some("org.mimirdb.pip.Main")
|
|
|
|
// def sourceRoots = T.sources(millSourcePath / "bin" / "src")
|
|
|
|
def moduleDeps = Seq(lib)
|
|
|
|
def repositoriesTask = T.task { super.repositoriesTask() ++ Seq(
|
|
MavenRepository("https://repo.osgeo.org/repository/release/"),
|
|
)}
|
|
|
|
def ivyDeps = Agg(
|
|
ivy"org.apache.sedona:sedona-common:1.5.0",
|
|
ivy"org.apache.sedona::sedona-spark-shaded-3.0:1.5.0",
|
|
ivy"org.datasyslab:geotools-wrapper:1.5.0-28.2"
|
|
)
|
|
|
|
def test = lib.test
|
|
|
|
object lib extends ScalaModule {
|
|
val VERSION = "0.0.1-SNAPSHOT"
|
|
|
|
def scalaVersion = "2.12.15"
|
|
|
|
|
|
def ivyDeps = Agg(
|
|
ivy"org.apache.spark::spark-sql:3.3.1",
|
|
ivy"org.apache.spark::spark-core:3.3.1",
|
|
ivy"org.apache.commons:commons-math3:3.6.1"
|
|
)
|
|
|
|
object test extends ScalaTests with TestModule {
|
|
def ivyDeps = Agg(ivy"org.scalactic::scalactic:3.2.17",
|
|
ivy"org.scalatest::scalatest:3.2.17"
|
|
)
|
|
def testFramework = "org.scalatest.tools.Framework"
|
|
}
|
|
}
|
|
|
|
|
|
}
|