-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
68 lines (59 loc) · 1.98 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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'java'
}
group 'khaos.uma.es'
version '1.0.0'
description = "Scalable OWL reasoner based on NoSQL databases and Apache Spark"
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
javadoc {
destinationDir = file("docs/")
}
shadowJar {
archiveBaseName.set('shadow')
archiveClassifier.set('')
archiveVersion.set('')
zip64 true
}
tasks.named('shadowJar') {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version)
}
}
tasks.named('test') {
useJUnitPlatform()
}
configurations.all {
resolutionStrategy {
force 'com.fasterxml.jackson.core:jackson-core:2.13.0',
'com.fasterxml.jackson.core:jackson-databind:2.13.0',
'com.fasterxml.jackson.core:jackson-annotations:2.13.0'
}
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation 'org.mockito:mockito-core:4.5.1'
testImplementation 'org.mockito:mockito-junit-jupiter:4.5.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'com.github.nosan:embedded-cassandra:4.0.7'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
// Logging
implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
// Apache Spark
implementation 'org.apache.spark:spark-core_2.12:3.2.1'
implementation 'org.apache.spark:spark-sql_2.12:3.2.1'
// Datastax Cassandra core driver
implementation 'com.datastax.oss:java-driver-core:4.14.0'
implementation 'com.datastax.oss:java-driver-query-builder:4.14.1'
// Datastax Cassandra Spark connector
implementation 'com.datastax.spark:spark-cassandra-connector_2.12:3.1.0'
// External cache
implementation 'redis.clients:jedis:4.2.2'
// Owl API
implementation 'net.sourceforge.owlapi:owlapi-distribution:5.1.20'
implementation 'com.github.galigator.openllet:openllet-owlapi:2.6.5'
}