From 7d72234e11b1fe7f8afa2f13152b5cfebde0b5a1 Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Fri, 26 Jul 2024 19:47:51 +0100 Subject: Switch to separateMixinSourceSet for 10x faster incremental builds (#2772) * Switch to separateMixinSourceSet for 10x faster incremental builds * Update version --- gradle.properties | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gradle.properties') diff --git a/gradle.properties b/gradle.properties index a3c688815c..07b09c6bc5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -85,6 +85,11 @@ accessTransformersFile = ggfab_at.cfg tectech_at.cfg # Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled! usesMixins = true +# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main. +# This can speed up compile times thanks to not running the mixin annotation processor on all input sources. +# Mixin classes will have access to "main" classes, but not the other way around. +separateMixinSourceSet = mixin + # Adds some debug arguments like verbose output and class export. usesMixinDebug = true -- cgit