@@ -7,17 +7,18 @@ plugins {
77group = ' com.glencoesoftware.omero'
88version = ' 0.11.1-SNAPSHOT'
99
10- sourceCompatibility = 1.8
11- targetCompatibility = 1.8
10+ compileJava {
11+ options. release = 11
12+ }
1213
1314repositories {
1415 mavenCentral()
1516 maven {
16- name ' Unidata'
17- url ' https://artifacts.unidata.ucar.edu/content/repositories /unidata-releases'
17+ name = ' Unidata'
18+ url = ' https://artifacts.glencoesoftware.com/artifactory /unidata-releases'
1819 }
1920 maven {
20- url ' https://artifacts.glencoesoftware.com/artifactory/ome.releases'
21+ url = ' https://artifacts.glencoesoftware.com/artifactory/ome.releases'
2122 }
2223}
2324
@@ -76,6 +77,21 @@ test {
7677 useTestNG()
7778}
7879
80+ jar {
81+ manifest {
82+ attributes(
83+ " Created-By" : " Gradle ${ gradle.gradleVersion} " ,
84+ " Build-Jdk" : " ${ System.properties['java.version']} (${ System.properties['java.vendor']} ${ System.properties['java.vm.version']} )" ,
85+ " Built-By" : System . properties[' user.name' ],
86+ " Built-On" : new java.text.SimpleDateFormat (" yyyy-MM-dd'T'HH:mm:ss.SSSZ" ). format(new Date ()),
87+ " Implementation-Build" : " git rev-parse --verify HEAD" . execute(). getText(). trim(),
88+ " Implementation-Title" : " OMERO Microservice Core" ,
89+ " Implementation-Version" : archiveVersion,
90+ " Implementation-Vendor" : " Glencoe Software Inc." ,
91+ )
92+ }
93+ }
94+
7995publishing {
8096 publications {
8197 omeroMsCore(MavenPublication ) {
@@ -85,8 +101,8 @@ publishing {
85101
86102 repositories {
87103 maven {
88- name ' gs-omero-snapshots-local'
89- url ' https://artifacts.glencoesoftware.com/artifactory/gs-omero-snapshots-local'
104+ name = ' gs-omero-snapshots-local'
105+ url = ' https://artifacts.glencoesoftware.com/artifactory/gs-omero-snapshots-local'
90106 credentials {
91107 username = project.properties.ArtifactoryUserName
92108 password = project.properties.ArtifactoryPassword
0 commit comments