mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +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',
|
||||||
':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'
|
||||||
|
|
Loading…
Reference in a new issue