mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-05 05:14:43 +08:00
Fix task
This commit is contained in:
parent
37eb969d4c
commit
751fa4b50e
@ -4,8 +4,10 @@ import upload.Bintray
|
||||
// Source code from kotlinx.coroutines
|
||||
|
||||
task ensureBintrayAvailable() {
|
||||
if (!Bintray.isBintrayAvailable(project)) {
|
||||
throw new IllegalStateException("bintray isn't available. ")
|
||||
doLast {
|
||||
if (!Bintray.isBintrayAvailable(project)) {
|
||||
throw new IllegalStateException("bintray isn't available. ")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user