-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
77 lines (63 loc) · 1.9 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
plugins {
id 'java'
id 'application'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
repositories {
maven {
url = 'https://artifacts.openmicroscopy.org/artifactory/maven'
}
mavenCentral()
}
dependencies {
implementation 'ch.qos.logback:logback-classic:1.1.7'
implementation 'com.j2html:j2html:1.4.0'
implementation 'org.slf4j:jul-to-slf4j:1.7.30'
implementation 'org.slf4j:jcl-over-slf4j:1.7.30'
implementation 'org.openmicroscopy:omero-server:5.5.6'
implementation 'com.google.guava:guava:27.1-jre'
implementation 'io.vertx:vertx-core:3.9.1'
implementation 'io.vertx:vertx-web:3.9.1'
implementation platform('software.amazon.awssdk:bom:2.11.10')
implementation 'software.amazon.awssdk:sts'
implementation 'commons-cli:commons-cli:1.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'org.mockito:mockito-core:3.3.3'
testImplementation 'org.mockito:mockito-junit-jupiter:3.3.3'
testImplementation 'io.vertx:vertx-codegen:3.9.1' // workaround for JDK-8152174
testImplementation 'software.amazon.awssdk:s3'
}
group = 'org.openmicroscopy'
version = '0.2.1-SNAPSHOT'
description = 'omero-ms-zarr'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
mainClassName = "org.openmicroscopy.ms.zarr.ZarrDataService"
applicationDefaultJvmArgs = [
"-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory"
]
shadowJar {
zip64 true
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
maxGranularity 2
}
if (project.hasProperty('excludeTests')) {
exclude project.property('excludeTests')
}
}