File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
src/main/kotlin/com/undefinedcreations/echo/dependency Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,4 @@ gradle-app.setting
107
107
108
108
# ## Gradle Patch ###
109
109
# Java heap dump
110
- * .hprof
111
-
112
- gradle.properties
110
+ * .hprof
Original file line number Diff line number Diff line change
1
+ org.gradle.jvmargs =-Xmx3G
2
+ org.gradle.daemon =true
3
+
4
+ group =com.undefinedcreations
5
+ version =0.0.4
Original file line number Diff line number Diff line change @@ -38,21 +38,21 @@ object BuildToolsManager {
38
38
generateDocs : Boolean ,
39
39
printDebug : Boolean
40
40
): File {
41
- val outputFolder = File (echoFolder, version)
41
+ val outputFolder = File (echoFolder, " $ version${ if (remapped) " -mojang-mapped " else " " } " )
42
42
outputFolder.mkdirs()
43
43
val finalJar = File (outputFolder, " spigot-$version .jar" )
44
44
if (finalJar.exists()) return File (outputFolder, " spigot-$version .jar" )
45
45
getInstalledJavaVersion(version).let { if (it != - 1 ) throw UnsupportedJavaVersion (it) }
46
46
47
47
val command = " java -jar ${buildToolsJAR.path} --rev " +
48
48
" $version ${if (remapped) " --remapped" else " " } " +
49
- " --output-dir ${outputFolder.path} " +
49
+ " --output-dir ${outputFolder.path} --generate-docs --nogui " +
50
50
" ${if (generateSource) " --generate-source" else " " } " +
51
51
if (generateDocs) " --generate-docs" else " "
52
52
53
- info(" Building BuildTools..." )
53
+ info(" Building BuildTools... ( $version ) " )
54
54
runJar(command, outputFolder, printDebug)
55
- info(" Built BuildTools." )
55
+ info(" Built BuildTools. ( $version ) " )
56
56
57
57
return finalJar
58
58
}
You can’t perform that action at this time.
0 commit comments