Initial project isolation support (#1215)

* Enable project isolation

* Add test for COD

* Make spotless happy
This commit is contained in:
modmuss
2024-11-14 21:56:20 +00:00
committed by GitHub
parent e387514ff7
commit 1f28935221
20 changed files with 182 additions and 101 deletions

View File

@@ -110,6 +110,10 @@ public abstract class LoomGradleExtensionImpl extends LoomGradleExtensionApiImpl
if (refreshDeps) {
project.getLogger().lifecycle("Refresh dependencies is in use, loom will be significantly slower.");
}
if (isolatedProjectsActive) {
project.getLogger().lifecycle("Isolated projects is enabled, Loom support is highly experimental, not all features will be enabled.");
}
}
@Override
@@ -297,4 +301,9 @@ public abstract class LoomGradleExtensionImpl extends LoomGradleExtensionApiImpl
public boolean isConfigurationCacheActive() {
return configurationCacheActive;
}
@Override
public boolean isProjectIsolationActive() {
return isolatedProjectsActive;
}
}