Travis build fix
This commit is contained in:
@@ -13,7 +13,11 @@ ext.writeVersion = {
|
||||
def pfile = new File('../core/assets/version.properties')
|
||||
def props = new Properties()
|
||||
|
||||
try{
|
||||
pfile.createNewFile()
|
||||
}catch (Exception e){}
|
||||
|
||||
if(pfile.exists()) {
|
||||
|
||||
props.load(new FileInputStream(pfile))
|
||||
|
||||
@@ -26,6 +30,7 @@ ext.writeVersion = {
|
||||
|
||||
props.store(pfile.newWriter(), "Autogenerated file. Do not modify.")
|
||||
}
|
||||
}
|
||||
|
||||
ext.getPlatform = {
|
||||
if (project.hasProperty("platform")) {
|
||||
|
||||
Reference in New Issue
Block a user