-
Notifications
You must be signed in to change notification settings - Fork 550
/
build.sbt
49 lines (33 loc) · 1.43 KB
/
build.sbt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import Dependencies._
import common._
ThisBuild / organization := "com.madgag"
ThisBuild / scalaVersion := "2.13.10"
ThisBuild / scalacOptions ++= Seq("-deprecation", "-feature", "-language:postfixOps")
ThisBuild / licenses := Seq("GPLv3" -> url("http://www.gnu.org/licenses/gpl-3.0.html"))
ThisBuild / homepage := Some(url("https://github.com/rtyley/bfg-repo-cleaner"))
ThisBuild / resolvers ++= jgitVersionOverride.map(_ => Resolver.mavenLocal).toSeq
ThisBuild / libraryDependencies += scalatest % Test
ThisBuild / Test/testOptions += Tests.Argument(
TestFrameworks.ScalaTest,
"-u", s"test-results/scala-${scalaVersion.value}"
)
lazy val root = Project(id = "bfg-parent", base = file(".")) aggregate (bfg, bfgTest, bfgLibrary)
releaseSignedArtifactsSettings
lazy val bfgTest = bfgProject("bfg-test")
lazy val bfgLibrary = bfgProject("bfg-library") dependsOn(bfgTest % Test)
lazy val bfg = bfgProject("bfg") enablePlugins(BuildInfoPlugin) dependsOn(bfgLibrary, bfgTest % Test)
lazy val bfgBenchmark = bfgProject("bfg-benchmark")
ThisBuild / publishTo := sonatypePublishToBundle.value
ThisBuild / pomExtra := (
<scm>
<url>[email protected]:rtyley/bfg-repo-cleaner.git</url>
<connection>scm:git:[email protected]:rtyley/bfg-repo-cleaner.git</connection>
</scm>
<developers>
<developer>
<id>rtyley</id>
<name>Roberto Tyley</name>
<url>https://github.com/rtyley</url>
</developer>
</developers>
)