-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
71 lines (64 loc) · 1.92 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
plugins {
id 'java-library'
id 'eclipse'
id 'maven-publish'
}
group = 'com.glencoesoftware.omero'
version = '0.1.1-SNAPSHOT'
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.glencoesoftware.com/artifactory/ome.releases'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/ome.external'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/gs-omero-snapshots-local'
}
maven {
url 'https://repo.glencoesoftware.com/repository/bioformats2raw2ometiff/'
}
maven {
url 'https://repo.glencoesoftware.com/repository/jzarr-snapshots'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/scijava-thirdparty'
}
maven {
url 'https://artifacts.glencoesoftware.com/artifactory/jzarr-releases/'
}
}
dependencies {
api 'org.openmicroscopy:omero-blitz:5.6.2'
}
test {
useJUnit()
}
publishing {
publications {
omeroPcSteward(MavenPublication) {
from components.java
}
}
}
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 Process Container Steward",
"Implementation-Version": archiveVersion,
"Implementation-Vendor": "Glencoe Software Inc.",
)
}
}