diff --git a/CHANGES.md b/CHANGES.md index d1d83c77..81781e43 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,11 @@ Please note this project is still in pre-release development. +## v0.4.3 +- Initial work for #49 slow chunked dataset reads +- Lots of typos cleaned up +- Add additional build data to MANIFEST.MF + ## v0.4.2 - Add support for byte shuffle filter - Many filter management improvements including support for dynamically loaded filters diff --git a/jhdf/build.gradle b/jhdf/build.gradle index aa4a8ee2..550244d8 100644 --- a/jhdf/build.gradle +++ b/jhdf/build.gradle @@ -23,12 +23,12 @@ plugins { // Community plugins (need versions) id 'com.jfrog.bintray' version '1.8.4' // For publishing to Bintray - id 'org.sonarqube' version '2.7' // Code quality + id 'org.sonarqube' version '2.7.1' // Code quality } -// Varibles +// Variables group = 'io.jhdf' -version = '0.4.2' +version = '0.4.3' sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -64,6 +64,15 @@ test { } } +def getGitHash = { -> + def stdout = new ByteArrayOutputStream() + exec { + commandLine 'git', 'rev-parse', '--verify', 'HEAD' + standardOutput = stdout + } + return stdout.toString().trim() +} + jar { manifest { attributes('Implementation-Title': project.name, @@ -74,7 +83,12 @@ jar { 'Bundle-SymbolicName': 'io.jhdf', 'Bundle-Name': project.name, 'Bundle-Vendor': 'James Mudd', - 'Export-Package': 'io.jhdf.*' + 'Export-Package': 'io.jhdf.*', + // Build data + 'Build-Time': new Date().toTimestamp(), + 'Build-JDK': System.getProperty('java.vendor') + ' ' + System.getProperty('java.version'), + 'Build-OS': System.getProperty('os.name') + ' ' + System.getProperty('os.version'), + 'Git-Commit': getGitHash() ) exclude('io/jhdf/examples') } @@ -89,12 +103,12 @@ jacocoTestReport { task sourcesJar(type: Jar) { from sourceSets.main.allJava - classifier = 'sources' + archiveClassifier = 'sources' } task javadocJar(type: Jar) { from javadoc - classifier = 'javadoc' + archiveClassifier = 'javadoc' } publishing {