forked from codacy/codacy-duplication-scala-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
60 lines (42 loc) · 1.81 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
name := """codacy-duplication-scala-seed"""
organization := "com.codacy"
version := "1.0.0-SNAPSHOT"
scalaVersion := "2.10.5"
crossScalaVersions := Seq("2.10.5", "2.11.7")
scalacOptions := Seq("-deprecation", "-feature", "-unchecked", "-Ywarn-adapted-args", "-Xlint", "-Xfatal-warnings")
resolvers += "Bintray Typesafe Repo" at "http://dl.bintray.com/typesafe/maven-releases/"
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.3.10",
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"com.typesafe.akka" %% "akka-actor" % "2.3.14"
)
organizationName := "Codacy"
organizationHomepage := Some(new URL("https://www.codacy.com"))
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
startYear := Some(2016)
description := "Library to develop Codacy duplication plugins"
licenses := Seq("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("http://www.github.com/codacy/codacy-duplication-scala-seed/"))
pomExtra :=
<scm>
<url>http://www.github.com/codacy/codacy-duplication-scala-seed</url>
<connection>scm:git:[email protected]:codacy/codacy-duplication-scala-seed.git</connection>
<developerConnection>scm:git:https://github.com/codacy/codacy-duplication-scala-seed.git</developerConnection>
</scm>
<developers>
<developer>
<id>rtfpessoa</id>
<name>Rodrigo Fernandes</name>
<email>rodrigo [at] codacy.com</email>
<url>https://github.com/rtfpessoa</url>
</developer>
</developers>