forked from aboisvert/pixii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildfile
45 lines (31 loc) · 1.18 KB
/
buildfile
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
require 'buildr/scala'
Buildr.settings.build['scala.test'] = "org.scalatest:scalatest_#{Buildr::Scala.version_without_build}:jar:2.0.M5"
VERSION_NUMBER = "0.0.4-SNAPSHOT"
repositories.remote << "http://repo1.maven.org/maven2/"
HTTPCLIENT = 'org.apache.httpcomponents:httpclient:jar:4.2.1'
HTTPCORE = 'org.apache.httpcomponents:httpcore:jar:4.2.1'
COMMONSLOG = 'commons-logging:commons-logging:jar:1.1.1'
CODEC = 'commons-codec:commons-codec:jar:1.5'
SLF4J_VERSION = "1.5.6"
SLF4J = [
"org.slf4j:slf4j-api:jar:#{SLF4J_VERSION}",
"org.slf4j:slf4j-log4j12:jar:#{SLF4J_VERSION}",
"org.slf4j:jcl-over-slf4j:jar:#{SLF4J_VERSION}"
]
LOG4J = "log4j:log4j:jar:1.2.15"
AWS_SDK = 'com.amazonaws:aws-java-sdk:jar:1.5.5'
desc 'Scala bindings for Amazon\'s DynamoDB'
define "pixii_#{Buildr::Scala.version}" do
project.version = VERSION_NUMBER
project.group = "pixii"
project.scalac_options.incremental = false
compile.with AWS_SDK #, HTTPCORE, HTTPCLIENT, CODEC, COMMONSLOG
compile.using :deprecation => true,
:other => ['-unchecked', '-Xprint-types']
test.using :scalatest
test.with LOG4J, SLF4J
doc.using :scaladoc
package :jar
package :scaladoc
package :sources
end