@@ -107,15 +107,16 @@ minecraft {
107107 property ' mixin.env.remapRefMap' , ' true'
108108 property ' mixin.env.refMapRemappingFile' , " ${ buildDir} /createSrgToMcp/output.srg"
109109
110- // JetBrains Runtime Hotswap
111- jvmArg ' -XX:+AllowEnhancedClassRedefinition'
112- jvmArg ' -XX:HotswapAgent=fatjar'
110+ if (! System . getenv(). containsKey(" CI" )) {
111+ // JetBrains Runtime Hotswap
112+ jvmArg ' -XX:+AllowEnhancedClassRedefinition'
113+ jvmArg ' -XX:HotswapAgent=fatjar'
114+ }
113115
114116 args ' --username' , ' Nano'
115117 args ' --width' , 1920
116118 args ' --height' , 1080
117119
118-
119120 mods {
120121 compactmachines {
121122 source sourceSets. tunnels
@@ -139,9 +140,11 @@ minecraft {
139140 property ' mixin.env.remapRefMap' , ' true'
140141 property ' mixin.env.refMapRemappingFile' , " ${ buildDir} /createSrgToMcp/output.srg"
141142
142- // JetBrains Runtime Hotswap
143- jvmArg ' -XX:+AllowEnhancedClassRedefinition'
144- jvmArg ' -XX:HotswapAgent=fatjar'
143+ if (! System . getenv(). containsKey(" CI" )) {
144+ // JetBrains Runtime Hotswap
145+ jvmArg ' -XX:+AllowEnhancedClassRedefinition'
146+ jvmArg ' -XX:HotswapAgent=fatjar'
147+ }
145148
146149 mods {
147150 compactmachines {
@@ -210,10 +213,12 @@ minecraft {
210213
211214 forceExit false
212215
213- // JetBrains Runtime Hotswap
214- jvmArg ' -XX:+AllowEnhancedClassRedefinition'
215- jvmArg ' -XX:HotswapAgent=fatjar'
216-
216+ if (! System . getenv(). containsKey(" CI" )) {
217+ // JetBrains Runtime Hotswap
218+ jvmArg ' -XX:+AllowEnhancedClassRedefinition'
219+ jvmArg ' -XX:HotswapAgent=fatjar'
220+ }
221+
217222 mods {
218223 compactmachines {
219224 source sourceSets. tunnels
0 commit comments