Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move build dependencies into meta build #3412

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// imports
import $meta._

import scala.util.chaining._
import com.github.lolgab.mill.mima.Mima
import coursier.maven.MavenRepository
Expand All @@ -20,14 +18,9 @@ import mill.T
import mill.define.Cross

// plugins and dependencies
import $meta._
import $file.ci.shared
import $file.ci.upload
import $ivy.`org.scalaj::scalaj-http:2.4.2`
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0`
import $ivy.`com.github.lolgab::mill-mima::0.1.1`
import $ivy.`net.sourceforge.htmlcleaner:htmlcleaner:2.29`
import $ivy.`com.lihaoyi::mill-contrib-buildinfo:`
import $ivy.`com.goyeau::mill-scalafix::0.4.0`

object Settings {
val pomOrg = "com.lihaoyi"
Expand Down
16 changes: 15 additions & 1 deletion mill-build/build.sc
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
object build extends MillBuildRootModule
import mill._
import mill.runner.MillBuildRootModule
import mill.scalalib._

object build extends MillBuildRootModule {
override def ivyDeps = Agg(
ivy"org.scalaj::scalaj-http:2.4.2",
ivy"de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0",
ivy"com.github.lolgab::mill-mima::0.1.1",
ivy"net.sourceforge.htmlcleaner:htmlcleaner:2.29",
// TODO: implement empty version for ivy deps as we do in import parser
ivy"com.lihaoyi::mill-contrib-buildinfo:${mill.api.BuildInfo.millVersion}",
ivy"com.goyeau::mill-scalafix::0.4.0"
)
}
Loading