mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-16 20:37:00 +08:00
[build] Fix build sync when ENABLE_ANDROID_INSTRUMENTED_TESTS is false
This commit is contained in:
parent
3dfe86bbe0
commit
e89d245ca0
@ -91,7 +91,7 @@ object BinaryCompatibilityConfigurator {
|
||||
)
|
||||
} else {
|
||||
tasks.findByName("apiBuild")?.dependsOn(
|
||||
if (targetName.contains("android")) {
|
||||
if (targetName.contains("android") && ENABLE_ANDROID_INSTRUMENTED_TESTS) {
|
||||
project.tasks.getByName("bundleDebugAar")
|
||||
} else {
|
||||
project.tasks.getByName("${targetName}Jar")
|
||||
|
Loading…
Reference in New Issue
Block a user