From 1935039432113a7437c19066d8129164bb73c7f2 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 31 Jul 2014 19:45:00 +0200 Subject: [PATCH] Improve documentation (targetCompatibility, XPP3) --- build.gradle | 3 ++- documentation/gettingstarted.html | 6 ++---- resources/releasedocs/README.html | 19 ++++++++++++++----- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 04e1875c7..79b7392da 100644 --- a/build.gradle +++ b/build.gradle @@ -23,6 +23,7 @@ allprojects { } group = 'org.igniterealtime.smack' sourceCompatibility = 1.7 + targetCompatibility = sourceCompatibility version = shortVersion if (isSnapshot) { version += '-SNAPSHOT' @@ -81,7 +82,7 @@ import org.apache.tools.ant.filters.ReplaceTokens task prepareReleasedocs(type: Copy) { from 'resources/releasedocs' into releasedocsDir - filter(ReplaceTokens, tokens: [version: version, releasedate: buildDate]) + filter(ReplaceTokens, tokens: [version: version, releasedate: buildDate, targetCompatibility: targetCompatibility.toString()]) } task distributionZip(type: Zip, dependsOn: [javadocAll, prepareReleasedocs]) { diff --git a/documentation/gettingstarted.html b/documentation/gettingstarted.html index ee5c35273..de817b244 100644 --- a/documentation/gettingstarted.html +++ b/documentation/gettingstarted.html @@ -23,10 +23,8 @@ important classes and concepts. JAR Files and Requirements

-Smack is meant to be easily embedded into any existing JDK 1.5 or later Java application. -It has no external dependencies (except for the Jingle voice chat functionality) and is optimized -to be as small as possible. The library ships as several JAR files to provide more flexibility -over which features applications require: +Smack is meant to be easily embedded into any existing Java application. +The library ships as several JAR files to provide more flexibility over which features applications require: