Commit 751fa4b5 authored by Him188's avatar Him188

Fix task

parent 37eb969d
...@@ -4,8 +4,10 @@ import upload.Bintray ...@@ -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. ")
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment