-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
109 lines (98 loc) · 3.18 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
plugins {
id 'application'
id 'eclipse'
}
group = 'com.glencoesoftware.omero'
version = '0.5.10-SNAPSHOT'
mainClassName = 'io.vertx.core.Launcher'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
name 'Unidata'
url 'https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases'
}
maven {
url 'https://artifacts.openmicroscopy.org/artifactory/maven/'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/gs-omero-snapshots-local'
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'minutes'
exclude group: 'com.github.marcus-nl.btm'
exclude group: 'com.codahale.metrics'
exclude group: 'com.drewnoakes'
exclude group: 'com.esotericsoftware.kryo'
exclude group: 'com.jamonapi'
exclude group: 'com.mortennobel'
exclude group: 'com.zeroc', module: 'icestorm'
exclude group: 'commons-beanutils'
exclude group: 'commons-codec'
exclude group: 'commons-io'
exclude group: 'geronimo-spec'
exclude group: 'gnu.getopt'
exclude group: 'joda-time'
exclude group: 'net.sf.ehcache'
exclude group: 'org.apache.commons'
exclude group: 'org.apache.httpcomponents'
exclude group: 'org.apache.pdfbox'
exclude group: 'org.apache.xmlgraphics'
exclude group: 'org.hibernate'
exclude group: 'org.ini4j'
exclude group: 'org.javassist'
exclude group: 'org.quartz-scheduler'
exclude group: 'org.scijava'
exclude group: 'org.subethamail'
exclude group: 'xerces'
exclude group: 'xalan'
}
dependencies {
implementation 'io.prometheus:simpleclient_vertx:0.6.0'
implementation 'io.zipkin.brave:brave:5.6.8'
implementation 'io.zipkin.brave:brave-http:4.13.6'
implementation 'io.zipkin.brave:brave-instrumentation-http:5.6.8'
implementation 'io.zipkin.reporter2:zipkin-sender-okhttp3:2.10.0'
implementation 'ch.qos.logback:logback-classic:1.3.14'
implementation 'org.slf4j:log4j-over-slf4j:1.7.32'
implementation 'com.glencoesoftware.omero:omero-ms-core:0.7.0'
implementation 'io.vertx:vertx-web:3.8.1'
implementation 'io.vertx:vertx-config:3.8.1'
implementation 'io.vertx:vertx-config-yaml:3.8.1'
implementation 'org.openmicroscopy:omero-blitz:5.7.2'
implementation 'io.prometheus.jmx:collector:0.12.0'
implementation 'io.prometheus:simpleclient_hotspot:0.8.0'
implementation 'com.zeroc:icegrid:3.6.5'
testImplementation 'org.testng:testng:6.10'
testImplementation 'org.mockito:mockito-core:2.+'
}
jar {
manifest {
attributes(
"Main-Class": mainClassName,
"Main-Verticle": "com.glencoesoftware.omero.ms.thumbnail.ThumbnailMicroserviceVerticle",
"Implementation-Version": archiveVersion
)
}
}
test {
// enable TestNG support (default is JUnit)
useTestNG()
}
distributions {
main {
contents {
from("$projectDir") {
include 'README.md'
}
}
}
}
applicationDefaultJvmArgs = [
"-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory"
]
startScripts {
classpath = files('$APP_HOME/lib/*')
}