forked from odpi/egeria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
258 lines (224 loc) · 12.3 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Contributors to the ODPi Egeria project.
*/
/*
* Used for Build scripts/plugins only
*/
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:3.0.1'
}
}
/*
* Plugins for this parent module only - so just high level project related
*/
plugins {
//id "nebula.lint" version "16.9.0"
//id "nebula-aggregate-javadocs"
id "io.freefair.lombok" version "6.0.0-m2"
}
/* run './gradlew aggregateJavadocs' at top level to build all docs & output to build/docs/javadoc */
apply plugin: 'nebula-aggregate-javadocs'
/*
* Configuration for all projects - INCLUDING this one
*/
allprojects {
group = 'org.odpi.egeria'
version = '2.10-SNAPSHOT'
apply plugin: 'java'
// This enforces version checking but is slow to process
//apply plugin: 'nebula.lint'
//gradleLint {
// rules = ['all-dependency'] // TODO: Change to criticalRules when ready to enforce
//
//}
//apply plugin: "io.spring.dependency-management"
// Mostly java, so default to this for now
apply plugin: 'java'
// As we've migrated from maven - we'll assume all submodules publish directly to maven
apply plugin: 'maven-publish'
repositories {
jcenter()
maven {
url "https://maven.atlassian.com/3rdparty"
}
}
/*
* Dependency Management - to fix versions. Pick up maven build settings for now
*/
// Assign variables for any constraints where we have multiples at same version
ext {
logbackVersion = '1.2.3'
jacksonVersion = '2.12.2'
nettyVersion = '4.1.63.Final'
luceneVersion = '8.8.2'
gremlinVersion = '3.4.10'
groovyVersion = '3.0.7'
janusVersion = '0.5.3'
springsecurityVersion = '5.4.6'
springbootVersion = '2.4.5'
springwebVersion = '5.3.6'
springdataVersion = '2.5.0'
junitjupiterVersion = '5.7.1'
mockitoVersion = '3.9.0'
}
dependencies {
constraints {
//implementation("com.ibm.gaiandb:gaian":"")
implementation("ch.qos.logback:logback-classic:${logbackVersion}")
implementation("ch.qos.logback:logback-core:${logbackVersion}")
implementation("com.datastax.oss:java-driver-core:4.11.1")
implementation("com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}")
implementation("com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}")
implementation("com.fasterxml.jackson.core:jackson-core:${jacksonVersion}")
implementation("com.fasterxml.jackson.core:jackson-datatype-jsr310:${jacksonVersion}")
implementation("com.fasterxml:classmate:1.5.1")
implementation("com.github.jsonld-java:jsonld-java:0.13.3")
implementation("com.github.spotbugs:spotbugs-annotations:4.2.3")
implementation("com.google.crypto.tink:tink:1.5.0")
implementation("com.google.code.findbugs:jsr305:3.0.2")
implementation("com.google.guava:guava:30.1.1-jre")
implementation("com.h2database:h2:1.4.200")
implementation("com.mikesamuel:json-sanitizer:1.2.2")
implementation("com.sleepycat:je:18.3.12")
implementation("commons-codec:commons-codec:1.15")
implementation("commons-io:commons-io:2.8.0")
implementation("commons-logging:commons-logging:1.2")
implementation("io.github.classgraph:classgraph:4.8.105")
implementation("io.jsonwebtoken:jjwt:0.9.1")
implementation('io.lettuce:lettuce-core:6.1.1.RELEASE')
implementation("io.micrometer:micrometer-registry-prometheus:1.6.6")
implementation("io.netty:netty-handler:${nettyVersion}")
implementation("io.netty:netty-common:${nettyVersion}")
implementation("io.netty:netty-buffer:${nettyVersion}")
implementation("io.netty:netty-codec:${nettyVersion}")
implementation("io.netty:netty-all:${nettyVersion}")
implementation("io.netty:netty-transport:${nettyVersion}")
implementation("io.netty:netty-resolver:${nettyVersion}")
implementation("io.swagger.core.v3:swagger-annotations:2.1.9")
implementation("jakarta.annotation:jakarta.annotation-api:1.3.5")
implementation("jakarta.persistence:jakarta.persistence-api:2.2.3")
implementation("javax.validation:validation-api:2.0.1.Final")
implementation("javax.xml.bind:jaxb-api:2.3.1")
implementation("org.apache.avro:avro:1.10.2")
implementation("org.apache.commons:commons-collections4:4.4")
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("org.apache.derby:derby:10.8.3.1")
implementation("org.apache.hadoop:hadoop-common:2.9.2")
implementation("org.apache.httpcomponents:httpclient:4.5.13")
implementation("org.apache.httpcomponents:httpcore:4.4.14")
implementation("org.apache.jena:jena-core:3.17.0")
implementation("org.apache.kafka:kafka-clients:2.8.0")
implementation("org.apache.lucene:lucene-core:${luceneVersion}")
implementation("org.apache.lucene:lucene-analyzers-common:${luceneVersion}")
implementation("org.apache.lucene:lucene-queryparser:${luceneVersion}")
implementation("org.apache.lucene:lucene-spatial:8.4.1")
implementation("org.apache.lucene:lucene-spatial-extras:${luceneVersion}")
implementation("org.apache.ranger:ranger-plugins-common:1.2.0")
implementation("org.apache.tinkerpop:tinkergraph-gremlin:${gremlinVersion}")
implementation("org.apache.tinkerpop:gremlin-driver:${gremlinVersion}")
implementation("org.apache.tinkerpop:gremlin-core:${gremlinVersion}")
implementation("org.apache.tomcat.embed:tomcat-embed-core:9.0.45") //TODO May need to exclude tomcat-annotations-api
implementation("org.codehaus.groovy:groovy:${groovyVersion}")
implementation("org.codehaus.groovy:groovy-cli-picocli:${groovyVersion}")
implementation("org.codehaus.groovy:groovy-console:${groovyVersion}")
implementation("org.codehaus.groovy:groovy-jsr223:${groovyVersion}")
implementation("org.codehaus.groovy:groovy-templates:${groovyVersion}")
implementation("org.codehaus.groovy:groovysh:${groovyVersion}")
implementation("org.codehaus.plexus:plexus-utils:3.3.0")
implementation("org.elasticsearch:elasticsearch:7.12.1")
implementation("org.hdrhistogram:HdrHistogram:2.1.12")
implementation("org.janusgraph:janusgraph-core:${janusVersion}")
implementation("org.janusgraph:janusgraph-inmemory:${janusVersion}")
implementation("org.janusgraph:janusgraph-driver:${janusVersion}")
implementation("org.javassist:3.27.0-GA")
implementation("org.quartz-scheduler:quartz:2.3.2")
implementation("org.reflections:reflections:0.9.12")
implementation("org.slf4j:jcl-over-slf4j:1.7.30")
implementation("org.slf4j:slf4j-api:1.7.30")
implementation("org.springdoc:springdoc-openapi-ui:1.5.8")
implementation("org.springframework.boot:spring-boot-autoconfigure:${springbootVersion}")
implementation("org.springframework.boot:spring-boot:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-data-jpa:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-web:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-validation:${springbootVersion}")
implementation("org.springframework.data:spring-data-commons:${springdataVersion}")
implementation("org.springframework.boot:spring-boot-test:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-test:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-security:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-data-redis:${springbootVersion}")
implementation("org.springframework.boot:spring-boot-starter-actuator:${springbootVersion}")
implementation("org.springframework.data:spring-data-jpa:${springdataVersion}")
implementation("org.springframework.security:spring-security-config:${springsecurityVersion}")
implementation("org.springframework.security:spring-security-core:${springsecurityVersion}")
implementation("org.springframework.security:spring-security-ldap:${springsecurityVersion}")
implementation("org.springframework.security:spring-security-web:${springsecurityVersion}")
implementation("org.springframework:spring-aop:${springwebVersion}")
implementation("org.springframework:spring-beans:${springwebVersion}")
implementation("org.springframework:spring-context:${springwebVersion}")
implementation("org.springframework:spring-expression:${springwebVersion}")
implementation("org.springframework:spring-test:${springwebVersion}")
implementation("org.springframework:spring-jdbc:${springwebVersion}")
implementation("org.springframework:spring-web:${springwebVersion}")
implementation("org.springframework:spring-webmvc:${springwebVersion}")
implementation("org.springframework:spring-tx:${springwebVersion}")
implementation("org.springframework:spring-core:${springwebVersion}")
// testng also used in our 'source' code to support unit tests
implementation("org.testng:testng:7.4.0")
runtimeOnly("joda-time:joda-time:2.10.10")
implementation("org.yaml:snakeyaml:1.28")
runtimeOnly("org.antlr:antlr-runtime:3.5.2")
runtimeOnly("org.apache.jena:jena-arq:3.17.0")
runtimeOnly("org.codehaus.jackson:jackson-mapper-asl:1.9.14-atlassian-6")
runtimeOnly("org.codehaus.jackson:jackson-core-asl:1.9.14-atlassian-6")
runtimeOnly("org.janusgraph:janusgraph-berkeleyje:${janusVersion}")
runtimeOnly("org.janusgraph:janusgraph-cql:${janusVersion}")
runtimeOnly("org.janusgraph:janusgraph-cassandra:${janusVersion}")
runtimeOnly("org.janusgraph:janusgraph-lucene:${janusVersion}")
runtimeOnly("org.xerial.snappy:snappy-java:1.1.8.4")
runtimeOnly("org.janusgraph:janusgraph-es:${janusVersion}")
runtimeOnly("org.xerial.snappy:snappy-java:1.1.8.2")
testImplementation("junit:junit:4.13.2")
testImplementation("org.glassfish:javax.json:1.1.4")
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitjupiterVersion}")
testImplementation("org.junit.jupiter:junit-jupiter-engine:${junitjupiterVersion}")
testImplementation("org.junit.jupiter:junit-platform-runner:1.7.0")
testImplementation("org.junit.jupiter:junit-platform-suite-api:1.7.0")
testImplementation("org.mockito:mockito-core:${mockitoVersion}")
testImplementation("org.mockito:mockito-junit-jupiter:${mockitoVersion}")
testImplementation("org.mockito:mockito-inline:${mockitoVersion}")
testImplementation("org.slf4j:slf4j-simple:1.7.30")
testImplementation("org.testng:testng:7.3.0")
testImplementation("org.hamcrest:hamcrest:2.2")
}
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
// Tasks to help in finding dependency chains
task printAllDependencies(type: DependencyReportTask) {}
task printSubDependencies(type: DependencyReportTask) {}
task findDependency(type: DependencyInsightReportTask) {}
}
/*
* Configuration for sub projects only
*/
subprojects {
}