Class MinecraftSourceSets.Single
java.lang.Object
net.fabricmc.loom.configuration.providers.minecraft.MinecraftSourceSets
net.fabricmc.loom.configuration.providers.minecraft.MinecraftSourceSets.Single
- Enclosing class:
MinecraftSourceSets
Used when we have a single source set, either with split or merged jars.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.fabricmc.loom.configuration.providers.minecraft.MinecraftSourceSets
MinecraftSourceSets.Single, MinecraftSourceSets.Split -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEvaluate(org.gradle.api.Project project) voidapplyDependencies(BiConsumer<String, MinecraftJar.Type> consumer, List<MinecraftJar.Type> targets) protected List<net.fabricmc.loom.configuration.providers.minecraft.MinecraftSourceSets.ConfigurationName> getSourceSetForEnv(String env) Methods inherited from class net.fabricmc.loom.configuration.providers.minecraft.MinecraftSourceSets
evaluateSplit, extendsFrom, get, registerConfigurations
-
Constructor Details
-
Single
public Single()
-
-
Method Details
-
applyDependencies
public void applyDependencies(BiConsumer<String, MinecraftJar.Type> consumer, List<MinecraftJar.Type> targets) - Specified by:
applyDependenciesin classMinecraftSourceSets
-
getSourceSetForEnv
- Specified by:
getSourceSetForEnvin classMinecraftSourceSets
-
getConfigurations
protected List<net.fabricmc.loom.configuration.providers.minecraft.MinecraftSourceSets.ConfigurationName> getConfigurations()- Specified by:
getConfigurationsin classMinecraftSourceSets
-
afterEvaluate
public void afterEvaluate(org.gradle.api.Project project) - Specified by:
afterEvaluatein classMinecraftSourceSets
-