1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 09:09:38 +02:00

[gradle] Do not use deprecated 'compile' directive

This commit is contained in:
Florian Schmaus 2021-04-14 19:24:30 +02:00
parent 6b3e41d591
commit fbddd074bc
26 changed files with 60 additions and 60 deletions

View file

@ -14,13 +14,13 @@ dependencies {
// Android version is smaller then 21. Note that we deliberatly do
// not add this to smack-minidns, as this dependency may also be
// 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
// Filter out the optional Smack dependencies from androidProjects
(androidProjects - androidOptionalProjects)
.each { project ->
compile project
api project
}
// Add the Android jar to the Eclipse .classpath.