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

View File

@ -3,7 +3,7 @@ SASL with javax.security.sasl
Use javax.security.sasl for SASL."""
dependencies {
compile project(path: ':smack-core')
compile project(':smack-core')
testCompile project(path: ":smack-core", configuration: "testRuntime")
testCompile project(path: ":smack-core", configuration: "archives")
}

View File

@ -3,7 +3,7 @@ SASL with Smack provided code
Use Smack provided code for SASL."""
dependencies {
compile project(path: ':smack-core')
compile project(':smack-core')
testCompile project(path: ":smack-core", configuration: "testRuntime")
testCompile project(path: ":smack-core", configuration: "archives")
}