-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (34 loc) · 1.76 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
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.apache.lucene', name: 'lucene-core', version: '6.2.0'
compile group: 'org.apache.lucene', name: 'lucene-analyzers-common', version: '6.2.0'
compile group: 'org.apache.lucene', name: 'lucene-queryparser', version: '6.2.0'
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
// https://mvnrepository.com/artifact/com.sangupta/jopensurf
compile group: 'com.sangupta', name: 'jopensurf', version: '1.0.0'
// https://mvnrepository.com/artifact/org.bytedeco.javacpp-presets/opencv
compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '2.4.11-0.11'
compile group: 'org.openpnp', name: 'opencv', version: '2.4.13-0'
compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '2.4.11-0.11'
// ---< Helper files, optional >---
// https://mvnrepository.com/artifact/com.twelvemonkeys.imageio/imageio-jpeg
runtime group: 'com.twelvemonkeys.imageio', name: 'imageio-jpeg', version: '3.3.1'
compile fileTree(dir: 'lib', include: '*.jar')
// runtime fileTree(dir: 'lib', include: '*.jar')
}
task runPokemonIndexer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
systemProperty "java.library.path", "/home/cristianabrante/Desktop/opencv-build-2/lib"
main = 'pokemon.lireapp.PokemonDatasetIndexer'
args '-i', 'data/'
}
task runPokemonSearcherTest(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
systemProperty "java.library.path", "/home/cristianabrante/Desktop/opencv-build-2/lib"
main = 'pokemon.lireapp.PokemonIndexSearcher'
args '-p', 'test/pikachu-test-3.jpg'
}