mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
[gradle] Do not use deprecated 'compile' directive
This commit is contained in:
parent
6b3e41d591
commit
fbddd074bc
26 changed files with 60 additions and 60 deletions
|
@ -4,8 +4,8 @@ Extra Smack extensions for Android."""
|
||||||
// Note that the test dependencies (junit, …) are inferred from the
|
// Note that the test dependencies (junit, …) are inferred from the
|
||||||
// sourceSet.test of the core subproject
|
// sourceSet.test of the core subproject
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-android')
|
api project(':smack-android')
|
||||||
compile project(':smack-extensions')
|
api project(':smack-extensions')
|
||||||
|
|
||||||
// Add the Android jar to the Eclipse .classpath.
|
// Add the Android jar to the Eclipse .classpath.
|
||||||
compileClasspath files(androidBootClasspath)
|
compileClasspath files(androidBootClasspath)
|
||||||
|
|
|
@ -14,13 +14,13 @@ dependencies {
|
||||||
// Android version is smaller then 21. Note that we deliberatly do
|
// Android version is smaller then 21. Note that we deliberatly do
|
||||||
// not add this to smack-minidns, as this dependency may also be
|
// not add this to smack-minidns, as this dependency may also be
|
||||||
// used in non-Android projects.
|
// used in non-Android projects.
|
||||||
compile "org.minidns:minidns-android21:$miniDnsVersion"
|
implementation "org.minidns:minidns-android21:$miniDnsVersion"
|
||||||
|
|
||||||
// androidProjects lists all projects that are checked to compile against android.jar
|
// androidProjects lists all projects that are checked to compile against android.jar
|
||||||
// Filter out the optional Smack dependencies from androidProjects
|
// Filter out the optional Smack dependencies from androidProjects
|
||||||
(androidProjects - androidOptionalProjects)
|
(androidProjects - androidOptionalProjects)
|
||||||
.each { project ->
|
.each { project ->
|
||||||
compile project
|
api project
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the Android jar to the Eclipse .classpath.
|
// Add the Android jar to the Eclipse .classpath.
|
||||||
|
|
|
@ -3,8 +3,8 @@ Smack BOSH API.
|
||||||
This API is considered beta quality."""
|
This API is considered beta quality."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
// See https://issues.igniterealtime.org/browse/SMACK-858 and
|
// See https://issues.igniterealtime.org/browse/SMACK-858 and
|
||||||
// comment in version.gradle why the specify the version this way.
|
// comment in version.gradle why the specify the version this way.
|
||||||
compile 'org.igniterealtime.jbosh:jbosh:[0.9.1,0.9.999]'
|
implementation 'org.igniterealtime.jbosh:jbosh:[0.9.1,0.9.999]'
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,10 @@ ext {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-xmlparser')
|
api project(':smack-xmlparser')
|
||||||
compile "org.jxmpp:jxmpp-core:$jxmppVersion"
|
api "org.jxmpp:jxmpp-core:$jxmppVersion"
|
||||||
compile "org.jxmpp:jxmpp-jid:$jxmppVersion"
|
api "org.jxmpp:jxmpp-jid:$jxmppVersion"
|
||||||
compile "org.minidns:minidns-core:$miniDnsVersion"
|
api "org.minidns:minidns-core:$miniDnsVersion"
|
||||||
|
|
||||||
testFixturesImplementation project(':smack-xmlparser-stax')
|
testFixturesImplementation project(':smack-xmlparser-stax')
|
||||||
testFixturesImplementation project(':smack-xmlparser-xpp3')
|
testFixturesImplementation project(':smack-xmlparser-xpp3')
|
||||||
|
|
|
@ -4,6 +4,6 @@ Inspect the exchanged XMPP stanzas.
|
||||||
Connect your favourite slf4j backend of choice to get output inside of it"""
|
Connect your favourite slf4j backend of choice to get output inside of it"""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile 'org.slf4j:slf4j-api:[1.7,1.8)'
|
implementation 'org.slf4j:slf4j-api:[1.7,1.8)'
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,5 +3,5 @@ Smack GUI debugger.
|
||||||
Inspect the exchanged XMPP stanzas."""
|
Inspect the exchanged XMPP stanzas."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,10 +5,10 @@ otherwise carefully considered for deployment. The API may change even
|
||||||
between patch versions."""
|
between patch versions."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile project(':smack-extensions')
|
api project(':smack-extensions')
|
||||||
|
|
||||||
compile "org.hsluv:hsluv:0.2"
|
implementation "org.hsluv:hsluv:0.2"
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-extensions")))
|
testFixturesApi(testFixtures(project(":smack-extensions")))
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,10 @@ Classes and methods that implement support for the various XMPP XEPs
|
||||||
// Note that the test dependencies (junit, …) are inferred from the
|
// Note that the test dependencies (junit, …) are inferred from the
|
||||||
// sourceSet.test of the core subproject
|
// sourceSet.test of the core subproject
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
// Some implementations need APIs provided by smack-im,
|
// Some implementations need APIs provided by smack-im,
|
||||||
// e.g. message delivery receipts the roster
|
// e.g. message delivery receipts the roster
|
||||||
compile project(':smack-im')
|
api project(':smack-im')
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
//testCompile project(path: ":smack-core", configuration: "testRuntime")
|
//testCompile project(path: ":smack-core", configuration: "testRuntime")
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,6 @@ Roster, Chat and other functionality."""
|
||||||
// Note that the test dependencies (junit, …) are inferred from the
|
// Note that the test dependencies (junit, …) are inferred from the
|
||||||
// sourceSet.test of the core subproject
|
// sourceSet.test of the core subproject
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
testImplementation(testFixtures(project(":smack-core")))
|
testImplementation(testFixtures(project(":smack-core")))
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,12 +13,12 @@ dependencies {
|
||||||
implementation "com.google.guava:guava:${guavaVersion}"
|
implementation "com.google.guava:guava:${guavaVersion}"
|
||||||
// Do not upgrade to a higher reflections version until
|
// Do not upgrade to a higher reflections version until
|
||||||
// https://github.com/ronmamo/reflections/issues/273 is fixed.
|
// https://github.com/ronmamo/reflections/issues/273 is fixed.
|
||||||
compile 'org.reflections:reflections:0.9.11'
|
implementation 'org.reflections:reflections:0.9.11'
|
||||||
compile 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
api 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
||||||
compile group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
implementation group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
||||||
api "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
api "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
testCompile "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
testImplementation "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
|
|
|
@ -5,9 +5,9 @@ run Smack on Java 7 (or higher) JVMs. Usually you want to add additional
|
||||||
dependencies to smack-tcp, smack-extensions and smack-experimental."""
|
dependencies to smack-tcp, smack-extensions and smack-experimental."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(":smack-core")
|
api project(":smack-core")
|
||||||
compile project(":smack-resolver-javax")
|
api project(":smack-resolver-javax")
|
||||||
compile project(":smack-sasl-javax")
|
api project(":smack-sasl-javax")
|
||||||
implementation project(":smack-xmlparser-stax")
|
implementation project(":smack-xmlparser-stax")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ Smack Jingle API.
|
||||||
Warning: This API is beta, outdated and currenlty unmaintained."""
|
Warning: This API is beta, outdated and currenlty unmaintained."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile project(':smack-extensions')
|
api project(':smack-extensions')
|
||||||
compile 'javax.media:jmf:2.1.1e'
|
api 'javax.media:jmf:2.1.1e'
|
||||||
compile files('libs/jspeex-0.9.7-jfcom.jar', 'libs/jstun.jar', 'libs/Speex.jar')
|
api files('libs/jspeex-0.9.7-jfcom.jar', 'libs/jstun.jar', 'libs/Speex.jar')
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,8 @@ Usually XEPs in the state 'retracted', 'rejected', 'deprecated',
|
||||||
'obsolete' or in a long standing 'deferred' state."""
|
'obsolete' or in a long standing 'deferred' state."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile project(':smack-extensions')
|
api project(':smack-extensions')
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ mainClassName = 'org.igniterealtime.smack.inttest.smack_omemo_signal.SmackOmemoS
|
||||||
applicationDefaultJvmArgs = ["-enableassertions"]
|
applicationDefaultJvmArgs = ["-enableassertions"]
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-integration-test')
|
api project(':smack-integration-test')
|
||||||
compile project(':smack-omemo-signal')
|
api project(':smack-omemo-signal')
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
|
|
|
@ -3,11 +3,11 @@ Smack API for XEP-0384: OMEMO Encryption using libsignal
|
||||||
"""
|
"""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(":smack-im")
|
api project(":smack-im")
|
||||||
compile project(":smack-extensions")
|
api project(":smack-extensions")
|
||||||
compile project(":smack-omemo")
|
api project(":smack-omemo")
|
||||||
compile 'org.whispersystems:signal-protocol-java:2.6.2'
|
implementation 'org.whispersystems:signal-protocol-java:2.6.2'
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
testCompile project(path: ":smack-omemo", configuration: "testRuntime")
|
testImplementation project(path: ":smack-omemo", configuration: "testRuntime")
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ Smack API for XEP-0384: OMEMO Encryption
|
||||||
"""
|
"""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(":smack-im")
|
api project(":smack-im")
|
||||||
compile project(":smack-extensions")
|
api project(":smack-extensions")
|
||||||
compile project(":smack-experimental")
|
api project(":smack-experimental")
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,14 +4,14 @@ Smack API for XEP-0373: OpenPGP for XMPP."""
|
||||||
// Note that the test dependencies (junit, …) are inferred from the
|
// Note that the test dependencies (junit, …) are inferred from the
|
||||||
// sourceSet.test of the core subproject
|
// sourceSet.test of the core subproject
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile project(':smack-extensions')
|
api project(':smack-extensions')
|
||||||
compile project(':smack-experimental')
|
api project(':smack-experimental')
|
||||||
|
|
||||||
api 'org.pgpainless:pgpainless-core:0.1.0'
|
api 'org.pgpainless:pgpainless-core:0.1.0'
|
||||||
|
|
||||||
testImplementation "org.bouncycastle:bcprov-jdk15on:${bouncyCastleVersion}"
|
testImplementation "org.bouncycastle:bcprov-jdk15on:${bouncyCastleVersion}"
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
testCompile group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
testImplementation group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,8 +19,8 @@ dependencies {
|
||||||
api project(':smack-integration-test')
|
api project(':smack-integration-test')
|
||||||
api project(':smack-omemo-signal')
|
api project(':smack-omemo-signal')
|
||||||
|
|
||||||
compile "org.scala-lang:scala-library:$scalaVersion"
|
implementation "org.scala-lang:scala-library:$scalaVersion"
|
||||||
compile "com.lihaoyi:ammonite_$scalaVersion:1.3.2"
|
implementation "com.lihaoyi:ammonite_$scalaVersion:1.3.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
scalaStyle {
|
scalaStyle {
|
||||||
|
|
|
@ -3,6 +3,6 @@ DNS SRV with dnsjava
|
||||||
Use dnsjava for DNS SRV lookups."""
|
Use dnsjava for DNS SRV lookups."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile 'dnsjava:dnsjava:[3.0.0,3.0.9999]'
|
implementation 'dnsjava:dnsjava:[3.0.0,3.0.9999]'
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,5 @@ Use javax.naming for DNS SRV lookups. The javax.naming API is availabe in JavaSE
|
||||||
since Java7."""
|
since Java7."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,6 @@ description = """\
|
||||||
DNS over XMPP (DoX) support using MiniDNS."""
|
DNS over XMPP (DoX) support using MiniDNS."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(path: ':smack-resolver-minidns')
|
api project(path: ':smack-resolver-minidns')
|
||||||
compile project(path: ':smack-experimental')
|
api project(path: ':smack-experimental')
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ Use minidns for DNS SRV lookups. For platforms that don't provide the
|
||||||
javax.naming API (e.g. Android)."""
|
javax.naming API (e.g. Android)."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
compile "org.minidns:minidns-hla:$miniDnsVersion"
|
api "org.minidns:minidns-hla:$miniDnsVersion"
|
||||||
compile "org.jxmpp:jxmpp-util-cache:$jxmppVersion"
|
implementation "org.jxmpp:jxmpp-util-cache:$jxmppVersion"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ SASL with javax.security.sasl
|
||||||
Use javax.security.sasl for SASL."""
|
Use javax.security.sasl for SASL."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ SASL with Smack provided code
|
||||||
Use Smack provided code for SASL."""
|
Use Smack provided code for SASL."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ description = """\
|
||||||
Smack for standard XMPP connections over TCP."""
|
Smack for standard XMPP connections over TCP."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-core')
|
api project(':smack-core')
|
||||||
api project(':smack-streammanagement')
|
api project(':smack-streammanagement')
|
||||||
|
|
||||||
testFixturesApi(testFixtures(project(":smack-core")))
|
testFixturesApi(testFixtures(project(":smack-core")))
|
||||||
|
|
|
@ -2,6 +2,6 @@ description = """\
|
||||||
Smack XML parser using Stax."""
|
Smack XML parser using Stax."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':smack-xmlparser')
|
api project(':smack-xmlparser')
|
||||||
//testCompile project(path: ":smack-xmlparser", configuration: "testRuntime")
|
//testCompile project(path: ":smack-xmlparser", configuration: "testRuntime")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue