Commit 751fa4b5 authored by Him188's avatar Him188

Fix task

parent 37eb969d
......@@ -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. ")
}
}
}
......
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