Finalized build scripts

This commit is contained in:
Anuken
2019-08-21 15:34:01 -04:00
parent 4bb6a25055
commit 0553fb6b79
2 changed files with 17 additions and 4 deletions

View File

@@ -318,7 +318,7 @@ project(":net"){
task deployAll{
task cleanDeployOutput{
doFirst{
if("${getBuildVersion()}" == "custom build") throw new IllegalArgumentException("----\n\nSET A BUILD NUMBER FIRST!\n\n----")
if("${getBuildVersion()}" == "custom build" || "${getBuildVersion()}" == "") throw new IllegalArgumentException("----\n\nSET A BUILD NUMBER FIRST!\n\n----")
if(!project.hasProperty("release")) throw new IllegalArgumentException("----\n\nSET THE RELEASE PROJECT PROPERTY FIRST!\n\n----")
delete{