-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (46 loc) · 1.57 KB
/
build.gradle
File metadata and controls
52 lines (46 loc) · 1.57 KB
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
plugins {
// Apply the java plugin to add support for Java
id 'java'
id 'idea'
id 'com.github.johnrengelman.shadow' version '1.2.3'
id 'distribution'
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
maven {
url 'https://mvnrepository.com/artifact/org.apache.jena/jena'
}
mavenCentral()
jcenter()
}
// In this section you declare the dependencies for your production and test code
dependencies {
compile group: 'org.apache.jena', name: 'jena', version: '3.2.0'
// https://mvnrepository.com/artifact/com.hp.hpl.jena/jena
compile group: 'com.hp.hpl.jena', name: 'jena', version: '2.6.4'
compile group: 'com.jolbox', name: 'bonecp', version: '0.8.0.RELEASE'
compile group: 'redis.clients', name: 'jedis', version: '2.9.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.3'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.21'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
shadowJar {
baseName = 'phoenix'
mergeServiceFiles()
}
distributions {
main {
baseName = 'phoenix'
contents {
from shadowJar
}
// from fileTree(dir: 'scripts', includes: ['**/*.sh', '**/*.py'])
// from fileTree(dir: '.', includes: ['input/**', 'output/**', 'logs/**', 'config/**'])
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}
defaultTasks 'build'