1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

gradle: Use project(':foo') intead of project(path: ':foo') when possible

This commit is contained in:
Florian Schmaus 2019-09-01 17:09:42 +02:00
parent 5b23b9a6ae
commit ac77c969ac
6 changed files with 6 additions and 6 deletions

View file

@ -3,6 +3,6 @@ Compression with jzlib
Allow to compress the XMPP stream with help of jzlib.""" Allow to compress the XMPP stream with help of jzlib."""
dependencies { dependencies {
compile project(path: ':smack-core') compile project(':smack-core')
compile 'com.jcraft:jzlib:[1.1,1.2)' compile 'com.jcraft:jzlib:[1.1,1.2)'
} }

View file

@ -4,6 +4,6 @@ Use dnsjava 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(path: ':smack-core') compile project(':smack-core')
compile 'dnsjava:dnsjava:[2.1,2.2)' compile 'dnsjava:dnsjava:[2.1,2.2)'
} }

View file

@ -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(path: ':smack-core') compile project(':smack-core')
} }

View file

@ -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(path: ':smack-core') compile project(':smack-core')
compile "org.minidns:minidns-hla:$miniDnsVersion" compile "org.minidns:minidns-hla:$miniDnsVersion"
compile "org.jxmpp:jxmpp-util-cache:$jxmppVersion" compile "org.jxmpp:jxmpp-util-cache:$jxmppVersion"
} }

View file

@ -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(path: ':smack-core') compile project(':smack-core')
testCompile project(path: ":smack-core", configuration: "testRuntime") testCompile project(path: ":smack-core", configuration: "testRuntime")
testCompile project(path: ":smack-core", configuration: "archives") testCompile project(path: ":smack-core", configuration: "archives")
} }

View file

@ -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(path: ':smack-core') compile project(':smack-core')
testCompile project(path: ":smack-core", configuration: "testRuntime") testCompile project(path: ":smack-core", configuration: "testRuntime")
testCompile project(path: ":smack-core", configuration: "archives") testCompile project(path: ":smack-core", configuration: "archives")
} }