Open LeafHacker opened 5 years ago
This comment implies that you can configure that stuff directly in
build.gradle
. We should do that.
That comment was just a suggestion and it was not implemented. What was implemented was parent configs.
If MixinGradle doesn't support generating the config.json automatically, we could just add a
processResources
task toJsonBuilder
it.
processResources
will only work for building jars via Gradle not running in IDE afaik.
processResources works fine if you tell intellij to run via gradle instead of its own meme.
processResources works fine if you tell intellij to run via gradle instead of its own meme.
I don't think the debugger works if you do that.
processResources works fine if you tell intellij to run via gradle instead of its own meme.
I don't think the debugger works if you do that.
We do that on impact and it works fine. There was an intellij version that broke it kinda on some systems but it's fixed again.
We do that on impact and it works fine. There was an intellij version that broke it kinda on some systems but it's fixed again.
Seems like the debugger does work now but the runClient
task does not allow for custom game arguments but ForgeGradle might have something for this. Does this work if you have source sets like Baritone?
the
runClient
task does not allow for custom game arguments
Idk, I've always used the run configs generated by genIntellijRuns
. Never had a need to use runClient
.
Idk, I've always used the run configs generated by
genIntellijRuns
. Never had a need to userunClient
.
Then processResources
will not work because afaik IntelliJ builds that not Gradle.
I'm telling you it does. Literally just set
<application>
<component name="GradleSystemRunningSettings">
<option name="useGradleAwareMake" value="true" />
</component>
</application>
In .idea/gradle.run.settings.xml
wew
Currently our mixin configs are specified in static json files in Resources. This comment implies that you can configure that stuff directly in
build.gradle
. We should do that.If MixinGradle doesn't support generating the config.json automatically, we could just add a
processResources
task toJsonBuilder
it.