forked from angleto/elasticsearch-image
-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.gradle
55 lines (37 loc) · 1.1 KB
/
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
46
47
48
49
50
51
52
53
54
55
apply plugin: 'java'
description = 'elasticsearch image'
archivesBaseName = project.ext['project.name']
version = project.ext['project.version']
sourceCompatibility = 1.8
jar.baseName = archivesBaseName
task plugin(type: Zip) {
from jar
from 'lib'
from('src/main/resources') {
include '*.properties'
}
from (configurations.compile) {
include 'metadata-extractor*.jar'
include 'xmpcore*.jar'
}
into '/'
}
task wrapper(type: Wrapper) {
description 'create gradle wrapper'
gradleVersion = '2.14.1'
}
repositories {
mavenCentral()
}
dependencies {
compile fileTree(dir: 'lib', include: '*.jar')
compile 'org.elasticsearch:elasticsearch:2.4.1'
compile ('org.apache.lucene:lucene-core:5.5.2') { transitive = false }
compile 'com.drewnoakes:metadata-extractor:2.8.1'
compile 'com.adobe.xmp:xmpcore:5.1.2'
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.apache.sanselan:sanselan:0.97-incubator'
testCompile 'log4j:log4j:1.2.17'
testCompile 'org.elasticsearch:elasticsearch:2.3.3:tests'
}