-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
45 lines (37 loc) · 1022 Bytes
/
build.gradle
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
group 'com.enryold'
version '0.0.12'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'http://dynamodb-local.s3-website-us-west-2.amazonaws.com/release'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'com.amazonaws', name: 'DynamoDBLocal', version: '1.11.0'
compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.13'
compile 'redis.clients:jedis:2.8.0'
compile 'com.amazonaws:aws-java-sdk-dynamodb:1.11.46'
compile group: 'com.orange.redis-embedded', name: 'embedded-redis', version: '0.6'
}
task copyNativeDeps(type: Copy) {
from (configurations.testCompile) {
include "*.dylib"
include "*.so"
include "*.dll"
}
into 'build/libs'
}
test {
testLogging {
events "failed"
exceptionFormat "full"
}
}
test.dependsOn copyNativeDeps
test.doFirst {
systemProperty "java.library.path", 'build/libs'
}