1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +01:00

build.gradle: Lazily evaluate Android related arguments

This commit is contained in:
Florian Schmaus 2019-02-14 12:29:54 +01:00
parent a13829aa74
commit c0a64078c5

View file

@ -97,8 +97,12 @@ allprojects {
':smack-omemo-signal', ':smack-omemo-signal',
':smack-omemo-signal-integration-test', ':smack-omemo-signal-integration-test',
].collect{ project(it) } ].collect{ project(it) }
androidBootClasspath = getAndroidRuntimeJar() // Lazily evaluate the Android bootClasspath and offline
androidJavadocOffline = getAndroidJavadocOffline() // Javadoc using a closure, so that targets which do not
// require it are still able to succeed without an Android
// SDK.
androidBootClasspath = { getAndroidRuntimeJar() }
androidJavadocOffline = { getAndroidJavadocOffline() }
junitVersion = '5.2.0' junitVersion = '5.2.0'
} }
group = 'org.igniterealtime.smack' group = 'org.igniterealtime.smack'