-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
54 lines (40 loc) · 1.85 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
// -*- mode: scala -*-
import AssemblyKeys._
organization := "org.wikimedia"
name := "revdiffsearch"
version := "0.3"
scalaVersion := "2.10.4"
scalacOptions ++= Seq("-deprecation",
"-unchecked",
"-optimise",
"-explaintypes",
"-Xmax-classfile-name", "255",
"-g:line")
libraryDependencies ++= Seq(
"org.json4s" %% "json4s-native" % "3.2.5",
"com.typesafe" % "config" % "1.0.0",
"org.slf4j" % "slf4j-api" % "1.7.1",
"commons-codec" % "commons-codec" % "1.6",
"org.apache.lucene" % "lucene-core" % "4.4.0",
"org.apache.lucene" % "lucene-analyzers-common"
% "4.4.0",
"org.apache.lucene" % "lucene-queryparser"
% "4.4.0",
"io.netty" % "netty-all" % "4.0.7.Final",
"org.json" % "json" % "20090211",
"org.apache.commons" % "commons-lang3" % "3.1",
"ch.qos.logback" % "logback-classic" % "1.0.7",
"com.typesafe" %% "scalalogging-slf4j"
% "1.0.1",
"org.scalatest" %% "scalatest" % "1.9.1" % "test",
"junit" % "junit" % "4.10" % "test",
"com.novocode" % "junit-interface" % "0.8" % "test->default"
)
seq(com.github.retronym.SbtOneJar.oneJarSettings: _*)
assemblySettings
mainClass in (Compile, run) := Some("org.wikimedia.revdiffsearch.Indexer")
mainClass in oneJar := Some("org.wikimedia.revdiffsearch.Indexer")
mainClass in assembly := Some("org.wikimedia.revdiffsearch.Indexer")
publishMavenStyle := true
resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))