-
Notifications
You must be signed in to change notification settings - Fork 261
/
build.gradle
234 lines (206 loc) · 11.1 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
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Contributors to the ODPi Egeria project.
*/
/*
* Used for Build scripts/plugins only
*/
buildscript {
repositories {
jcenter()
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"
}
/* 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.7'
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'
// In a few cases we need dependencies from outside the tree - mostly just hadoop binding (and the pom)
// Use JCenter for performance, and our own official build snapshots for gaian/ranger/derby & main egeria BOM for version fixing
repositories {
jcenter()
maven { url("https://odpi.jfrog.io/odpi/egeria-snapshot") }
//mavenLocal()
}
/*
* Dependency Management - to fix versions. Pick up maven build settings for now
*/
dependencies {
constraints {
//implementation("com.ibm.gaiandb:gaian":"")
implementation("ch.qos.logback:logback-classic:1.2.3")
implementation("ch.qos.logback:logback-core:1.2.3")
implementation("com.datastax.oss:java-driver-core:4.10.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.1")
implementation("com.fasterxml.jackson.core:jackson-core:2.12.1")
implementation("com.fasterxml.jackson.core:jackson-annotations:2.12.1")
implementation("com.fasterxml.jackson.core:jackson-datatype-jsr310:2.11.3")
implementation("com.fasterxml:classmate:1.5.1")
implementation("com.github.jsonld-java:jsonld-java:0.13.2")
implementation("com.github.spotbugs:spotbugs-annotations:4.1.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-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.102")
implementation("io.jsonwebtoken:jjwt:0.9.1")
implementation('io.lettuce:lettuce-core:6.0.2.RELEASE')
implementation("io.micrometer:micrometer-registry-prometheus:1.6.2")
implementation("io.netty:netty-all:4.1.58.Final")
implementation("io.netty:netty-buffer:4.1.58.Final")
implementation("io.netty:netty-common:4.1.58.Final")
implementation("io.netty:netty-codec:4.1.58.Final")
implementation("io.netty:netty-handler:4.1.58.Final")
implementation("io.netty:netty-transport:4.1.58.Final")
implementation("io.netty:netty-resolver:4.1.58.Final")
implementation("io.swagger.core.v3:swagger-annotations:2.1.6")
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.1")
implementation("org.apache.commons:commons-collections4:4.4")
implementation("org.apache.commons:commons-lang3:3.11")
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.7.0")
implementation("org.apache.lucene:lucene-analyzers-common:8.7.0")
implementation("org.apache.lucene:lucene-core:8.7.0")
implementation("org.apache.lucene:lucene-queryparser:8.7.0")
implementation("org.apache.lucene:lucene-spatial:8.4.1")
implementation("org.apache.lucene:lucene-spatial-extras:8.7.0")
implementation("org.apache.ranger:ranger-plugins-common:1.2.0")
implementation("org.apache.tinkerpop:tinkergraph-gremlin:3.4.10")
implementation("org.apache.tinkerpop:gremlin-driver:3.4.10")
implementation("org.apache.tinkerpop:gremlin-core:3.4.10")
implementation("org.apache.tomcat.embed:tomcat-embed-core:9.0.40") //TODO May need to exclude tomcat-annotations-api
implementation("org.codehaus.groovy:groovy:3.0.7")
implementation("org.codehaus.groovy:groovy-cli-picocli:3.0.7")
implementation("org.codehaus.groovy:groovy-console:3.0.7")
implementation("org.codehaus.groovy:groovy-jsr223:3.0.7")
implementation("org.codehaus.groovy:groovy-templates:3.0.7")
implementation("org.codehaus.groovy:groovysh:3.0.7")
implementation("org.codehaus.plexus:plexus-utils:3.3.0")
implementation("org.elasticsearch:elasticsearch:7.10.2")
implementation("org.hdrhistogram:HdrHistogram:2.1.12")
implementation("org.janusgraph:janusgraph-core:0.5.3")
implementation("org.janusgraph:janusgraph-inmemory:0.5.3")
implementation("org.janusgraph:janusgraph-driver:0.5.3")
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.4.8")
implementation("org.springframework.boot:spring-boot:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-autoconfigure:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-actuator:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-data-jpa:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-data-redis:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-security:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-validation:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-web:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-starter-test:2.3.5.RELEASE")
implementation("org.springframework.boot:spring-boot-test:2.3.5.RELEASE")
implementation("org.springframework.cloud:spring-cloud-starter-netflix-zuul:2.2.6.RELEASE")
implementation("org.springframework.data:spring-data-commons:2.4.1")
implementation("org.springframework.data:spring-data-jpa:2.4.1")
implementation("org.springframework.security:spring-security-config:5.4.1")
implementation("org.springframework.security:spring-security-core:5.4.1")
implementation("org.springframework.security:spring-security-ldap:5.4.1")
implementation("org.springframework.security:spring-security-web:5.4.1")
implementation("org.springframework:spring-aop:5.3.1")
implementation("org.springframework:spring-beans:5.3.1")
implementation("org.springframework:spring-context:5.3.1")
implementation("org.springframework:spring-core:5.3.1")
implementation("org.springframework:spring-expression:5.3.1")
implementation("org.springframework:spring-jdbc:5.3.1")
implementation("org.springframework:spring-test:5.3.1")
implementation("org.springframework:spring-tx:5.3.1")
implementation("org.springframework:spring-web:5.3.1")
implementation("org.springframework:spring-webmvc:5.3.1")
// testng also used in our 'source' code to support unit tests
implementation("org.testng:testng:7.3.0")
implementation("org.yaml:snakeyaml:1.27")
runtimeOnly("joda-time:joda-time:2.10.9")
runtimeOnly("org.antlr:antlr-runtime:3.5.2")
runtimeOnly("org.apache.jena:jena-arq:3.17.0")
runtimeOnly("org.codehaus.jackson:jackson-core-asl:1.9.13")
runtimeOnly("org.codehaus.jackson:jackson-mapper-asl:1.9.13-atlassian-2")
runtimeOnly("org.janusgraph:janusgraph-berkeleyje:0.5.3")
runtimeOnly("org.janusgraph:janusgraph-cql:0.5.3")
runtimeOnly("org.janusgraph:janusgraph-cassandra:0.5.3")
runtimeOnly("org.janusgraph:janusgraph-lucene:0.5.3")
runtimeOnly("org.xerial.snappy:snappy-java:1.1.8.4")
runtimeOnly("org.janusgraph:janusgraph-es:0.5.3")
runtimeOnly("org.xerial.snappy:snappy-java:1.1.8.2")
testImplementation("junit:junit:4.13.1")
testImplementation("org.glassfish:javax.json:1.1.4")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.7.0")
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:3.7.7")
testImplementation("org.mockito:mockito-inline:3.7.7")
testImplementation("org.mockito:mockito-junit-jupiter:3.7.7")
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"
}
}
/*
* Configuration for sub projects only
*/
subprojects {
}