generated from edadma/sn-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
71 lines (48 loc) · 1.64 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name := "cairo-xlib"
version := "0.1.0"
scalaVersion := "2.13.6"
enablePlugins(ScalaNativePlugin)
nativeLinkStubs := true
nativeMode := "debug"
nativeLinkingOptions := Seq(s"-L${baseDirectory.value}/native-lib")
scalacOptions ++= Seq("-deprecation",
"-feature",
"-unchecked",
"-language:postfixOps",
"-language:implicitConversions",
"-language:existentials")
organization := "io.github.edadma"
githubOwner := "edadma"
githubRepository := name.value
Global / onChangedBuildSource := ReloadOnSourceChanges
resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"
resolvers += Resolver.githubPackages("edadma")
Compile / mainClass := Some("Main")
licenses := Seq("ISC" -> url("https://opensource.org/licenses/ISC"))
homepage := Some(url("https://github.com/edadma/" + name.value))
//libraryDependencies += "org.scalatest" %%% "scalatest" % "3.2.9" % "test"
//libraryDependencies ++= Seq(
// "com.github.scopt" %%% "scopt" % "4.0.1"
//)
libraryDependencies ++=
Seq(
"io.github.edadma" %%% "libcairo" % "0.1.4",
"io.github.edadma" %%% "xlib" % "0.1.0.pre.18"
)
publishMavenStyle := true
Test / publishArtifact := false
pomIncludeRepository := { _ =>
false
}
pomExtra :=
<scm>
<url>[email protected]:edadma/{name.value}.git</url>
<connection>scm:git:[email protected]:edadma/{name.value}.git</connection>
</scm>
<developers>
<developer>
<id>edadma</id>
<name>Edward A. Maxedon, Sr.</name>
<url>https://github.com/edadma</url>
</developer>
</developers>