-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (73 loc) · 2.23 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'java'
targetCompatibility = 1.7
sourceCompatibility = 1.7
buildscript {
repositories {
jcenter()
mavenCentral()
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
maven {
// name "jitpack"
url "https://jitpack.io"
}
}
}
dependencies {
compile 'log4j:log4j:1.2.17'
}
task printLGDont(type: JavaExec) {
dependsOn classes
doFirst{
println(" ****** Print linkedgeodata ontology ****** ")
}
main = "cc.openthings.sync.PrintTtlOntology"
classpath = sourceSets.main.runtimeClasspath
//args = []
//systemProperty 'x', "y"
}
task analyseOnt(type: JavaExec) {
dependsOn classes
doFirst{
println(" ****** analyse ontology ****** ")
}
main = "cc.openthings.sync.OntAnalyser"
classpath = sourceSets.main.runtimeClasspath
}
ext {
jjsonVer = '1.1.0-alpha1'
jenaVer = '3.3.0'
jusVer = '0.7.0x2-SNAPSHOT'
rxJava2 = 'io.reactivex.rxjava2:rxjava:2.1.1'
rxJavaExtras = 'com.github.davidmoten:rxjava2-extras:0.1.10'
reactorCore = 'io.projectreactor:reactor-core:3.0.5.RELEASE'
libs = [ // Groovy map literal
jsonld: 'com.github.jsonld-java:jsonld-java:0.10.0',
jjson: [
'io.apptik.json:json-core:' + jjsonVer,
//'io.apptik.json:json-generator:' + jjsonVer,
'io.apptik.json:json-wrapper:' + jjsonVer
],
jena: [
'org.apache.jena:apache-jena-libs:'+jenaVer,
'org.apache.jena:jena:'+jenaVer,
'org.apache.jena:jena-core:'+jenaVer,
'org.apache.jena:jena-arq:'+jenaVer
],
jenatdb: 'org.apache.jena:jena-tdb:' +jenaVer,
jus: [
'io.apptik.comm:jus-java:'+jusVer,
'io.apptik.comm:rx-jus:'+jusVer,
'io.apptik.comm:jus-jjson:'+jusVer,
'io.apptik.comm:retro-jus:'+jusVer
]
]
}