mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Merge branch '4.0'
Conflicts: build.gradle documentation/connections.html documentation/gettingstarted.html smack-core/src/main/java/org/jivesoftware/smack/SmackException.java smack-core/src/test/java/org/jivesoftware/smack/parsing/ParsingExceptionTest.java smack-core/src/test/java/org/jivesoftware/smack/test/util/TestUtils.java smack-core/src/test/java/org/jivesoftware/smack/util/PacketParserUtilsTest.java smack-extensions/src/main/java/org/jivesoftware/smackx/caps/cache/SimpleDirectoryPersistentCache.java smack-extensions/src/main/java/org/jivesoftware/smackx/ping/PingManager.java smack-tcp/src/main/java/org/jivesoftware/smack/tcp/PacketReader.java
This commit is contained in:
commit
94a16ba41e
61 changed files with 806 additions and 300 deletions
22
build.gradle
22
build.gradle
|
@ -19,6 +19,7 @@ allprojects {
|
|||
sonatypeStagingUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
|
||||
buildDate = (new java.text.SimpleDateFormat("yyyy-MM-dd")).format(new Date())
|
||||
oneLineDesc = 'An Open Source XMPP (Jabber) client library'
|
||||
jxmppVersion = "0.1.0"
|
||||
}
|
||||
group = 'org.igniterealtime.smack'
|
||||
sourceCompatibility = 1.7
|
||||
|
@ -35,7 +36,12 @@ allprojects {
|
|||
// first occurence of an dash with a dot.
|
||||
// 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
|
||||
'Bundle-Version': version.replaceFirst("-", "."))
|
||||
'Bundle-Version': version.replaceFirst("-", "."),
|
||||
'Built-Date': new Date(),
|
||||
'Built-JDK': System.getProperty('java.version'),
|
||||
'Built-Gradle': gradle.gradleVersion,
|
||||
'Built-By': System.getProperty('user.name')
|
||||
)
|
||||
}
|
||||
|
||||
eclipse {
|
||||
|
@ -73,6 +79,9 @@ task javadocAll(type: Javadoc) {
|
|||
// Might need a classpath
|
||||
classpath = files(subprojects.collect {project ->
|
||||
project.sourceSets.main.compileClasspath})
|
||||
options.linkSource = true
|
||||
options.use = true
|
||||
options.links = ["http://docs.oracle.com/javase/$sourceCompatibility/docs/api/"] as String[]
|
||||
}
|
||||
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
@ -100,6 +109,9 @@ jar {
|
|||
enabled = false
|
||||
}
|
||||
|
||||
// Disable upload archives for the root project
|
||||
uploadArchives.enabled = false
|
||||
|
||||
description = """\
|
||||
Smack ${version}
|
||||
${oneLineDesc}."""
|
||||
|
@ -157,7 +169,7 @@ subprojects {
|
|||
|
||||
issueManagement {
|
||||
system 'JIRA'
|
||||
url 'http://issues.igniterealtime.org/browse/SMACK'
|
||||
url 'https://igniterealtime.org/issues/browse/SMACK'
|
||||
}
|
||||
|
||||
distributionManagement {
|
||||
|
@ -195,7 +207,9 @@ subprojects {
|
|||
rootProject.distributionZip {
|
||||
dependsOn build
|
||||
from(buildDir) {
|
||||
include "$libsDirName/**"
|
||||
include "$libsDirName/*${version}.jar"
|
||||
include "$libsDirName/*${version}-javadoc.jar"
|
||||
include "$libsDirName/*${version}-sources.jar"
|
||||
}
|
||||
}
|
||||
signing {
|
||||
|
@ -204,7 +218,7 @@ subprojects {
|
|||
}
|
||||
}
|
||||
|
||||
['smack-extensions', 'smack-experimental', 'smack-legacy'].each { name ->
|
||||
['smack-resolver-javax', 'smack-extensions', 'smack-experimental', 'smack-legacy'].each { name ->
|
||||
project(":$name") {
|
||||
jar {
|
||||
manifest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue