-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
48 lines (41 loc) · 1.54 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'application'
group = 'org.gdd.sage'
version = '1.1'
description = """SaGe client, build as an Apache Jena extension"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = "org.gdd.sage.cli.CLI"
jar {
manifest {
attributes 'Implementation-Title': 'sage-jena',
'Implementation-Version': version,
'Main-Class': mainClassName
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'sage-jena',
'Implementation-Version': version,
'Main-Class': mainClassName
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
repositories {
maven { url "https://repo.maven.apache.org/maven2" }
}
dependencies {
compile group: 'org.apache.jena', name: 'apache-jena-libs', version:'3.7.0'
compile group: 'com.google.http-client', name: 'google-http-client-jackson2', version: '1.23.0'
compile group: 'com.google.http-client', name: 'google-http-client', version: '1.23.0'
compile group: 'com.google.guava', name: 'guava', version: '21.0'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'info.picocli', name: 'picocli', version: '3.9.5'
compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.5'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version:'1.7.5'
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:2.+"
}