Class ProjectView.AbstractProjectView
java.lang.Object
net.fabricmc.loom.configuration.processors.speccontext.ProjectView.AbstractProjectView
- All Implemented Interfaces:
ProjectView
- Direct Known Subclasses:
DeobfProjectView.Impl,RemappedProjectView.Impl
- Enclosing interface:
ProjectView
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.fabricmc.loom.configuration.processors.speccontext.ProjectView
ProjectView.AbstractProjectView, ProjectView.ArtifactUsage -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LoomGradleExtensionprotected final org.gradle.api.Project -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fabricmc.loom.configuration.processors.speccontext.ProjectView
getLoomProjectDependencies
-
Field Details
-
project
protected final org.gradle.api.Project project -
extension
-
-
Constructor Details
-
AbstractProjectView
protected AbstractProjectView(org.gradle.api.Project project)
-
-
Method Details
-
getLoomProjectDataDependencies
Description copied from interface:ProjectView返回指定配置中依赖项目的跨项目数据.- Specified by:
getLoomProjectDataDependenciesin interfaceProjectView- Parameters:
name- 配置名(通常是runtimeClasspath/compileClasspath)- Returns:
- 依赖项目的数据流;不是 Loom 项目的依赖不会出现在其中
-
getMods
- Specified by:
getModsin interfaceProjectView
-
disableProjectDependantMods
public boolean disableProjectDependantMods()- Specified by:
disableProjectDependantModsin interfaceProjectView
-
areEnvironmentSourceSetsSplit
public boolean areEnvironmentSourceSetsSplit()- Specified by:
areEnvironmentSourceSetsSplitin interfaceProjectView
-