Class RemapConfigurationSettings

java.lang.Object
net.fabricmc.loom.api.RemapConfigurationSettings
All Implemented Interfaces:
org.gradle.api.Named

public abstract class RemapConfigurationSettings extends Object implements org.gradle.api.Named
A Named object for configuring "proxy" configurations that remap artifacts.
  • Constructor Details

    • RemapConfigurationSettings

      @Inject public RemapConfigurationSettings(String name)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.gradle.api.Named
    • getSourceSet

      public abstract org.gradle.api.provider.Property<org.gradle.api.tasks.SourceSet> getSourceSet()
      Returns:
      The target source set
    • getTargetConfigurationName

      public abstract org.gradle.api.provider.Property<String> getTargetConfigurationName()
      Returns:
      The target configuration name
    • getClientSourceConfigurationName

      public abstract org.gradle.api.provider.Property<String> getClientSourceConfigurationName()
      Optional, only used when split sourcesets are enabled. When not present client only entries should go onto the target configuration.
      Returns:
      The client source configuration name
    • getOnCompileClasspath

      public abstract org.gradle.api.provider.Property<Boolean> getOnCompileClasspath()
      Returns:
      True if this configuration's artifacts should be exposed for compile operations.
    • getOnRuntimeClasspath

      public abstract org.gradle.api.provider.Property<Boolean> getOnRuntimeClasspath()
      Returns:
      True if this configuration's artifacts should be exposed to runtime operations.
    • getPublishingMode

      public abstract org.gradle.api.provider.Property<RemapConfigurationSettings.PublishingMode> getPublishingMode()
      Returns:
      the RemapConfigurationSettings.PublishingMode for the configuration.
    • getApplyDependencyTransforms

      public abstract org.gradle.api.provider.Property<Boolean> getApplyDependencyTransforms()
      Returns:
      true when dependencies should be evaluated for minecraft jar transforms such as transitive Access Wideners or Injected interfaces.
    • getProject

      @Inject protected abstract org.gradle.api.Project getProject()
    • getRemappedConfigurationName

      @Internal @Internal public final String getRemappedConfigurationName()
    • getSourceConfiguration

      @Internal @Internal public final org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration> getSourceConfiguration()
    • toString

      public String toString()
      Overrides:
      toString in class Object