8 Star 34 Fork 14

Gitee 极速下载/mindustry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Anuken/Mindustry
克隆/下载
settings.gradle 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
Anuken 提交于 2025-02-03 07:10 +08:00 . Finalized launch pad mechanics
if(JavaVersion.current().ordinal() < JavaVersion.VERSION_17.ordinal()){
throw new Exception("!!! YOU MUST USE JAVA 17 OR ABOVE TO COMPILE AND RUN MINDUSTRY !!! Read the README. Your version: ${System.properties["java.version"]}")
}
include 'desktop', 'core', 'server', 'ios', 'annotations', 'tools', 'tests'
def hasSdk = System.getenv("ANDROID_HOME") != null
if(new File(settingsDir, 'local.properties').exists()){
def properties = new Properties()
properties.load(new File(settingsDir, 'local.properties').newDataInputStream())
if(properties.containsKey("sdk.dir")) hasSdk = true
}
if(System.getenv("JITPACK") == "true") hasSdk = false
if(hasSdk){
include 'android'
}else{
println("No Android SDK found. Skipping Android module.")
}
if(!hasProperty("release") && !hasProperty("noLocalArc")){
if(new File(rootDir.parent, 'Arc').exists()){
println("Compiling with localArc")
includeBuild("../Arc")
}
if(new File(rootDir.parent, 'Mindustry-Debug').exists()){
include(":debug")
project(":debug").projectDir = new File(rootDir.parent, "Mindustry-Debug")
}
}else{
println("Not including local repositories.")
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/mindustry.git
git@gitee.com:mirrors/mindustry.git
mirrors
mindustry
mindustry
master

搜索帮助