1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00

Don't fail if no config is found.

This commit is contained in:
Cedric Beust 2015-11-14 17:12:31 -08:00
parent ed5eb4adfd
commit 654e5d0f65

View file

@ -115,7 +115,8 @@ public class PublishPlugin @Inject constructor(val files: KFiles, val factory: P
} }
} }
} else { } else {
warn("Couldn't find any jcenter{} configuration, not uploading anything") log(2, "Couldn't find any jcenter{} configuration, not uploading anything")
success = true
} }
return TaskResult(success, messages.joinToString("\n ")) return TaskResult(success, messages.joinToString("\n "))