Class DeobfProjectView.Impl
java.lang.Object
net.fabricmc.loom.configuration.processors.speccontext.ProjectView.AbstractProjectView
net.fabricmc.loom.configuration.processors.speccontext.DeobfProjectView.Impl
- All Implemented Interfaces:
DeobfProjectView,ProjectView
- Enclosing interface:
DeobfProjectView
public static class DeobfProjectView.Impl
extends ProjectView.AbstractProjectView
implements DeobfProjectView
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.fabricmc.loom.configuration.processors.speccontext.DeobfProjectView
DeobfProjectView.ImplNested classes/interfaces inherited from interface net.fabricmc.loom.configuration.processors.speccontext.ProjectView
ProjectView.AbstractProjectView, ProjectView.ArtifactUsage -
Field Summary
Fields inherited from class net.fabricmc.loom.configuration.processors.speccontext.ProjectView.AbstractProjectView
extension, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.file.FileCollectiongetDependencies(DebofConfiguration debofConfiguration, DebofConfiguration.TargetSourceSet targetSourceSet) org.gradle.api.file.FileCollectiongetProjectDependencies(DebofConfiguration debofConfiguration) 返回给定 deobf 配置上的依赖项目数据.Methods inherited from class net.fabricmc.loom.configuration.processors.speccontext.ProjectView.AbstractProjectView
areEnvironmentSourceSetsSplit, disableProjectDependantMods, getLoomProjectDataDependencies, getModsMethods 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
areEnvironmentSourceSetsSplit, disableProjectDependantMods, getLoomProjectDataDependencies, getLoomProjectDependencies, getMods
-
Constructor Details
-
Impl
protected Impl(org.gradle.api.Project project)
-
-
Method Details
-
getDependencies
public org.gradle.api.file.FileCollection getDependencies(DebofConfiguration debofConfiguration, DebofConfiguration.TargetSourceSet targetSourceSet) - Specified by:
getDependenciesin interfaceDeobfProjectView
-
getProjectDependencies
Description copied from interface:DeobfProjectView返回给定 deobf 配置上的依赖项目数据.这里刻意不重复实现「读取前强制依赖项目求值」:它们全部经由
ProjectView.getLoomProjectDataDependencies(String)读取,非隔离模式下的强制求值、以及隔离模式下 数据缺失时的去重告警,都在那一个入口完成,语义与限制见该方法的说明。deobf 配置(runtimeClasspath等)就是本项目的 classpath 配置,因此两条路径没有别的读法。- Specified by:
getProjectDependenciesin interfaceDeobfProjectView- Parameters:
debofConfiguration- 目标 deobf 配置- Returns:
- 该配置上的依赖项目数据流
-
getFullClasspath
public org.gradle.api.file.FileCollection getFullClasspath()- Specified by:
getFullClasspathin interfaceDeobfProjectView
-