forked from Paradoxika/Skeptik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
111 lines (94 loc) · 3.04 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name := "Skeptik"
organization := "at.logic"
version := "1.1"
scalaVersion := "2.11.4"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-optimize")
scalacOptions in (Compile, doc) ++= Seq("-diagrams","-implicits")
scalacOptions in Test ++= Seq("-Yrangepos")
resolvers ++= Seq("snapshots", "releases", "public").map(Resolver.sonatypeRepo)
resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases"
libraryDependencies ++= Seq(
"org.scalaz" %% "scalaz-core" % "7.1.0",
"org.specs2" %% "specs2" % "2.4.15" % "test",
"com.github.scopt" %% "scopt" % "3.3.0",
"org.scala-lang" % "scala-library" % "2.11.4",
"org.scala-lang" % "scala-xml" % "2.11.0-M4",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.3",
"org.scala-lang" % "scala-library" % "2.11.4", // apparently needed because of timeout and deprecated actors library
"com.github.scala-incubator.io" %% "scala-io-file" % "0.4.3-1" // seems inactive
)
licenses := Seq("CC BY-NC-SA" -> url("http://creativecommons.org/licenses/by-nc-sa/3.0/"))
homepage := Some(url("http://github.com/Paradoxika/Skeptik"))
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<scm>
<url>[email protected]:Paradoxika/Skeptik.git</url>
<connection>scm:git:[email protected]:Paradoxika/Skeptik.git</connection>
</scm>
<developers>
<developer>
<id>bruno.wp</id>
<name>Bruno Woltzenlogel Paleo</name>
<url>http://www.logic.at/People/Bruno/</url>
</developer>
</developers>
<contributors>
</contributors>
<properties>
<encoding>UTF-8</encoding>
</properties>
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<testSourceDirectory>src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7</version>
<configuration>
<useFile>false</useFile>
<disableXmlReport>true</disableXmlReport>
<!-- If you have classpath issue like NoDefClassError,... -->
<!-- useManifestOnlyJar>false</useManifestOnlyJar -->
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/*.off</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.1.0</version>
</plugin>
</plugins>
</reporting>
)