From f4d8fccf0361154dec20b1d7dabcc0fa6a88f336 Mon Sep 17 00:00:00 2001 From: Alexander Veit Date: Sun, 4 Jun 2017 01:04:11 +0200 Subject: [PATCH 1/2] Fix issue 476 Manifest files were added to the RichTextFX libraries. Implementation and specification version are being set 0.7.0-M6 and 0.7.0 respectively. See http://semver.org. --- build.gradle | 3 ++- richtextfx-demos/build.gradle | 10 ++++++++++ richtextfx/build.gradle | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b6cb6db06..0778266fe 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,8 @@ subprojects { apply plugin: 'java' apply plugin: 'eclipse' - version = '1.0.0-SNAPSHOT' + version = '0.7.0-M6' + ext.specificationVersion = '0.7.0' repositories { mavenCentral() diff --git a/richtextfx-demos/build.gradle b/richtextfx-demos/build.gradle index ae5bc98bd..73ce28d0a 100644 --- a/richtextfx-demos/build.gradle +++ b/richtextfx-demos/build.gradle @@ -2,6 +2,16 @@ dependencies { compile project(":richtextfx") } +jar { + manifest { + attributes( + 'Specification-Title': 'RichTextFX Demos', + 'Specification-Version': project.specificationVersion, + 'Implementation-Title': 'RichTextFX Demos', + 'Implementation-Version': project.version) + } +} + task fatJar(type: Jar, dependsOn: classes) { appendix = 'fat' from sourceSets.main.output diff --git a/richtextfx/build.gradle b/richtextfx/build.gradle index 26a41d84b..ffa1551b3 100644 --- a/richtextfx/build.gradle +++ b/richtextfx/build.gradle @@ -37,6 +37,17 @@ dependencies { integrationTestCompile "org.testfx:openjfx-monocle:8u76-b04" } + +jar { + manifest { + attributes( + 'Specification-Title': 'RichTextFX', + 'Specification-Version': project.specificationVersion, + 'Implementation-Title': 'RichTextFX', + 'Implementation-Version': project.version) + } +} + javadoc { // ignore missing Javadoc comments or tags options.addStringOption('Xdoclint:all,-missing', '-quiet') From c305373dd781edb00a147fde0959741be4566507 Mon Sep 17 00:00:00 2001 From: Alexander Veit Date: Tue, 6 Jun 2017 22:04:58 +0200 Subject: [PATCH 2/2] Set version back to 1.0.0-SNAPSHOT --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 0778266fe..bdf2b82ee 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ subprojects { apply plugin: 'java' apply plugin: 'eclipse' - version = '0.7.0-M6' + version = '1.0.0-SNAPSHOT' ext.specificationVersion = '0.7.0' repositories {