-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
44 lines (41 loc) · 1.59 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
ThisBuild / publishTo := {
if (isSnapshot.value) Some(Resolver.url("sonatype-snapshots", url("https://oss.sonatype.org/content/repositories/snapshots")))
else Some(Resolver.url("sonatype-staging", url("https://oss.sonatype.org/service/local/staging/deploy/maven2")))
}
ThisBuild / organization := "com.mchange"
ThisBuild / version := "0.1.1-SNAPSHOT"
ThisBuild / scalaVersion := "3.3.4"
lazy val root = project
.in(file("."))
.settings(
name := "audiofluidity-rss",
resolvers += Resolver.mavenLocal,
scalacOptions ++= Seq("-deprecation"),
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "2.3.0",
libraryDependencies += "com.mchange" %% "conveniences" % "0.0.5",
libraryDependencies += "com.lihaoyi" %% "utest" % "0.8.2" % "test",
testFrameworks += new TestFramework("utest.runner.Framework"),
pomExtra := pomExtraForProjectName_Apache2( name.value )
)
def pomExtraForProjectName_Apache2( projectName : String ) = {
<url>https://github.com/swaldman/{projectName}</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/swaldman/{projectName}
</url>
<connection>scm:git:[email protected]:swaldman/{projectName}.git</connection>
</scm>
<developers>
<developer>
<id>swaldman</id>
<name>Steve Waldman</name>
<email>[email protected]</email>
</developer>
</developers>
}