JITPack fixes

This commit is contained in:
Anuken
2019-08-28 22:07:08 -04:00
parent b095840dc8
commit efcf802682
2 changed files with 3 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ def use = { String name ->
def properties = new Properties()
if(new File(settingsDir, 'local.properties').exists()){
if(new File(settingsDir, 'local.properties').exists() && System.getenv("JITPACK") != "true"){
properties.load(new File(settingsDir, 'local.properties').newDataInputStream())
if(properties.containsKey("sdk.dir")){