mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-10 09:16:58 +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
|
// Source code from kotlinx.coroutines
|
||||||
|
|
||||||
task ensureBintrayAvailable() {
|
task ensureBintrayAvailable() {
|
||||||
if (!Bintray.isBintrayAvailable(project)) {
|
doLast {
|
||||||
throw new IllegalStateException("bintray isn't available. ")
|
if (!Bintray.isBintrayAvailable(project)) {
|
||||||
|
throw new IllegalStateException("bintray isn't available. ")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user