Cleaned some stuff on the gradle

This commit is contained in:
coolGi
2023-02-27 22:32:47 +10:30
parent 3c111cd8d6
commit e9eeba944a
4 changed files with 11 additions and 39 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ def loadProperties() {
def mcVersion = ""
def mcVers = fileTree("versionProperties").files.name // Get all the files in "versionProperties"
for (int i = 0; i < mcVers.size(); i++) {
mcVers[i] = mcVers[i].replaceAll(".properties", "") // As we are getting the file names, we should remove the ".properties" at the end to get the versions
mcVers[i] = mcVers[i].replaceAll("\\.properties", "") // As we are getting the file names, we should remove the ".properties" at the end to get the versions
}
mcVers.sort() // Sort so it always goes from oldest to newest
@@ -79,8 +79,8 @@ if (gradle.builds_for.contains("fabric"))
include("fabric")
if (gradle.builds_for.contains("quilt"))
include("quilt") // Just put this here for once we need it ;)
if (gradle.builds_for.contains("forge"))
include("forge")
//if (gradle.builds_for.contains("forge"))
// include("forge")
rootProject.name = "DistantHorizons"