-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
88 lines (79 loc) · 2.58 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
plugins {
id 'java-library'
id 'eclipse'
id 'maven-publish'
}
group = 'com.glencoesoftware.omero'
version = '0.4.2-SNAPSHOT'
sourceCompatibility = 1.11
targetCompatibility = 1.11
repositories {
mavenCentral()
maven {
name 'Unidata'
url 'https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/ome.releases'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/ome.external'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/scijava-thirdparty'
}
maven {
url 'https://repo.glencoesoftware.com/repository/bioformats2raw2ometiff/'
}
}
dependencies {
api 'org.openmicroscopy:omero-blitz:5.7.3'
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
implementation 'dev.zarr:jzarr:0.4.2'
implementation 'org.lasersonlab:s3fs:2.2.3'
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.659'
testImplementation 'info.picocli:picocli:4.7.5'
testImplementation 'com.glencoesoftware:bioformats2raw:0.9.1'
}
test {
useJUnit()
}
publishing {
publications {
omeroZarrPixelBuffer(MavenPublication) {
from components.java
pom {
name = 'OMERO Zarr Pixel Buffer'
licenses {
license {
name = 'GNU General Public License version 2'
url = 'http://www.gnu.org/licenses/gpl-2.0.txt'
}
}
}
}
}
repositories {
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/gs-omero-snapshots-local/'
credentials {
username = project.properties.ArtifactoryUserName
password = project.properties.ArtifactoryPassword
}
}
}
}
jar {
manifest {
attributes(
"Created-By": "Gradle ${gradle.gradleVersion}",
"Build-Jdk": "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
"Built-By": System.properties['user.name'],
"Built-On": new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
"Implementation-Build": "git rev-parse --verify HEAD".execute().getText().trim(),
"Implementation-Title": "OMERO Zarr Pixel Buffer",
"Implementation-Version": archiveVersion,
"Implementation-Vendor": "Glencoe Software Inc.",
)
}
}