mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 07:22:07 +01:00
s/buildDate/builtDate/
This commit is contained in:
parent
c9dd1cdc40
commit
3bbe9bef71
1 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ allprojects {
|
||||||
// Returns only the date in yyyy-MM-dd format, as otherwise, with
|
// Returns only the date in yyyy-MM-dd format, as otherwise, with
|
||||||
// hh:mm:ss information, the manifest files would change with every
|
// hh:mm:ss information, the manifest files would change with every
|
||||||
// build, causing unnecessary rebuilds.
|
// build, causing unnecessary rebuilds.
|
||||||
buildDate = (new java.text.SimpleDateFormat("yyyy-MM-dd")).format(new Date())
|
builtDate = (new java.text.SimpleDateFormat("yyyy-MM-dd")).format(new Date())
|
||||||
oneLineDesc = 'An Open Source XMPP (Jabber) client library'
|
oneLineDesc = 'An Open Source XMPP (Jabber) client library'
|
||||||
jxmppVersion = "0.2.0"
|
jxmppVersion = "0.2.0"
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ allprojects {
|
||||||
// For example 4.0.0-rc1 becomes 4.0.0.rc1, but
|
// For example 4.0.0-rc1 becomes 4.0.0.rc1, but
|
||||||
// 4.0.0-SNAPSHOT-2014-05-01 becomes 4.0.0.SNAPSHOT-2014-05-01
|
// 4.0.0-SNAPSHOT-2014-05-01 becomes 4.0.0.SNAPSHOT-2014-05-01
|
||||||
'Bundle-Version': version.replaceFirst("-", "."),
|
'Bundle-Version': version.replaceFirst("-", "."),
|
||||||
'Built-Date': ext.buildDate,
|
'Built-Date': ext.builtDate,
|
||||||
'Built-JDK': System.getProperty('java.version'),
|
'Built-JDK': System.getProperty('java.version'),
|
||||||
'Built-Gradle': gradle.gradleVersion,
|
'Built-Gradle': gradle.gradleVersion,
|
||||||
'Built-By': System.getProperty('user.name')
|
'Built-By': System.getProperty('user.name')
|
||||||
|
@ -98,11 +98,11 @@ import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
task prepareReleasedocs(type: Copy) {
|
task prepareReleasedocs(type: Copy) {
|
||||||
from 'resources/releasedocs'
|
from 'resources/releasedocs'
|
||||||
into releasedocsDir
|
into releasedocsDir
|
||||||
filter(ReplaceTokens, tokens: [version: version, releasedate: buildDate, targetCompatibility: targetCompatibility.toString()])
|
filter(ReplaceTokens, tokens: [version: version, releasedate: builtDate, targetCompatibility: targetCompatibility.toString()])
|
||||||
}
|
}
|
||||||
|
|
||||||
task distributionZip(type: Zip, dependsOn: [javadocAll, prepareReleasedocs]) {
|
task distributionZip(type: Zip, dependsOn: [javadocAll, prepareReleasedocs]) {
|
||||||
classifier buildDate
|
classifier builtDate
|
||||||
into ('javadoc') {
|
into ('javadoc') {
|
||||||
from(javadocAllDir)
|
from(javadocAllDir)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue