-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
113 lines (97 loc) · 3.79 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
plugins {
id 'net.researchgate.release' version '2.6.0'
id 'com.github.hierynomus.license' version '0.14.0'
id 'io.codearte.nexus-staging' version '0.9.0'
id 'org.dm.bundle' version '0.10.0'
}
ext {
name = 'Camel-JsonLd-FromRDF'
description = 'A Camel LDP implementation'
vendor = 'pandorasystems'
homepage = 'http://www.trellisldp.org'
url = 'http://www.trellisldp.org/apidocs'
license = 'Apache 2'
inceptionYear = '2017'
}
configure(allprojects) { project ->
group = 'org.ubl.camel.jsonld'
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
ext {
/* Dependencies */
camelVersion = '2.20.0'
jsonldVersion = "0.11.1"
/* Testing */
jaxbVersion = '2.3.0'
javaxActivationVersion = '1.1.1'
junitVersion = '5.0.1'
junitPlatformVersion = '1.0.1'
jaxbVersion = '2.3.0'
jenaVersion = '3.5.0'
activationVersion = '1.1.1'
logbackVersion = '1.2.3'
apiguardianVersion = '1.0.0'
/* OSGi */
camelVersionRange = '[2.16,3)'
projectOsgiVersion = project.version.replaceAll("-SNAPSHOT", ".SNAPSHOT")
defaultOsgiImports = 'org.osgi.service.blueprint;version="[1,2)",*'
jacocoVersion = '0.8.0'
checkstyleVersion = '8.8'
}
}
subprojects {
apply plugin: 'application'
apply plugin: 'maven'
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'checkstyle'
apply plugin: 'com.github.hierynomus.license'
sourceCompatibility = 1.10
targetCompatibility = 1.10
checkstyle {
configFile = rootProject.file('buildtools/src/main/resources/checkstyle/checkstyle.xml')
configProperties.checkstyleConfigDir = rootProject.file('buildtools/src/main/resources/checkstyle/')
toolVersion = checkstyleVersion
}
license {
include "**/*.java"
header rootProject.file('buildtools/src/main/resources/license/HEADER.txt')
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'
}
}
}
project("jsonld-serialize-endpoint") {
mainClassName = 'org.ubl.iiif.dynamic.camel.JsonLd'
description = 'A Camel service that serializes JsonLd from Ntriples'
dependencies {
compile group: 'javax.activation', name: 'activation', version: javaxActivationVersion
compile group: 'javax.xml.bind', name: 'jaxb-api', version: jaxbVersion
compile group: 'org.apache.camel', name: 'camel-jetty9', version: camelVersion
compile group: 'org.apache.camel', name: 'camel-http4', version: camelVersion
compile group: 'com.github.jsonld-java', name: 'jsonld-java', version: jsonldVersion
compile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
testImplementation group: 'org.apiguardian', name: 'apiguardian-api', version: apiguardianVersion
testImplementation group: 'org.junit.platform', name: 'junit-platform-runner', version: junitPlatformVersion
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitVersion
testImplementation group: 'org.apache.camel', name: 'camel-test', version: camelVersion
testImplementation group: 'org.apache.camel', name: 'camel-jetty9', version: camelVersion
testImplementation group: 'org.apache.camel', name: 'camel-http4', version: camelVersion
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
testImplementation group: 'org.apache.camel', name: 'camel-test-blueprint', version: camelVersion
}
}