mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
build.gradle: Lazily evaluate Android related arguments
This commit is contained in:
parent
a13829aa74
commit
c0a64078c5
1 changed files with 6 additions and 2 deletions
|
@ -97,8 +97,12 @@ allprojects {
|
|||
':smack-omemo-signal',
|
||||
':smack-omemo-signal-integration-test',
|
||||
].collect{ project(it) }
|
||||
androidBootClasspath = getAndroidRuntimeJar()
|
||||
androidJavadocOffline = getAndroidJavadocOffline()
|
||||
// Lazily evaluate the Android bootClasspath and offline
|
||||
// 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'
|
||||
}
|
||||
group = 'org.igniterealtime.smack'
|
||||
|
|
Loading…
Reference in a new issue