Interface ForgeSourcesService.Options

All Superinterfaces:
Service.Options
Enclosing class:
ForgeSourcesService

public static interface ForgeSourcesService.Options extends Service.Options
  • Method Details

    • getForgeSourceJars

      @Optional @InputFiles @PathSensitive(NONE) org.gradle.api.file.ConfigurableFileCollection getForgeSourceJars()
      仍以归档形态提供的 Forge 源码包,仅在未接入声明式解压任务时作为回退.
    • getForgeSourceDirectories

      @Optional @InputFiles @PathSensitive(RELATIVE) org.gradle.api.file.ConfigurableFileCollection getForgeSourceDirectories()
      由声明式解压任务预先展开的 Forge 源码目录.

      含目录本身的构建依赖(getBuiltBy()),因此任务指纹会追踪生产者, 调用方无需额外声明 dependsOn。使用 PathSensitivity.RELATIVE 以“目录内容”语义参与输入哈希,避免缓存目录绝对路径变化引起无谓重跑。

    • getSourceRemapperService

      @Optional org.gradle.api.provider.Property<SourceRemapperService.Options> getSourceRemapperService()
    • getShouldShowVerboseStderr

      @Input org.gradle.api.provider.Property<Boolean> getShouldShowVerboseStderr()