mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 04:13:44 +07:00
JITPack fixes
This commit is contained in:
parent
b095840dc8
commit
efcf802682
@ -16,6 +16,8 @@ buildscript{
|
|||||||
|
|
||||||
allprojects{
|
allprojects{
|
||||||
version = 'release'
|
version = 'release'
|
||||||
|
apply plugin: 'maven'
|
||||||
|
group = 'com.github.Anuken'
|
||||||
|
|
||||||
ext{
|
ext{
|
||||||
versionNumber = '4'
|
versionNumber = '4'
|
||||||
|
@ -7,7 +7,7 @@ def use = { String name ->
|
|||||||
|
|
||||||
def properties = new Properties()
|
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())
|
properties.load(new File(settingsDir, 'local.properties').newDataInputStream())
|
||||||
|
|
||||||
if(properties.containsKey("sdk.dir")){
|
if(properties.containsKey("sdk.dir")){
|
||||||
|
Loading…
Reference in New Issue
Block a user