Interface PlatformAwareComponentSpec

All Superinterfaces:
ComponentSpec, ModelElement, Named, VariantComponent, VariantComponentSpec
All Known Subinterfaces:
JvmLibrarySpec, NativeExecutableSpec, NativeLibrarySpec, PlayApplicationSpec, PlayPlatformAwareComponentSpec, TargetedNativeComponent

@Incubating public interface PlatformAwareComponentSpec extends VariantComponentSpec
Defines Platform specific operations for ComponentSpecs
  • Method Details

    • targetPlatform

      void targetPlatform(String targetPlatform)
      Specifies a platform that this component should be built be for.