Class PlatformParametersSpec


  • public class PlatformParametersSpec
    extends java.lang.Object
    Allows to add PlatformParameters objects to the list property of the same type.
    • Constructor Summary

      Constructors 
      Constructor Description
      PlatformParametersSpec​(org.gradle.api.model.ObjectFactory objectFactory, org.gradle.api.provider.ListProperty<PlatformParameters> platforms)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void platform​(org.gradle.api.Action<? super PlatformParameters> action)
      Adds a new platform configuration to the platforms list.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlatformParametersSpec

        @Inject
        public PlatformParametersSpec​(org.gradle.api.model.ObjectFactory objectFactory,
                                      org.gradle.api.provider.ListProperty<PlatformParameters> platforms)
    • Method Detail

      • platform

        public void platform​(org.gradle.api.Action<? super PlatformParameters> action)
        Adds a new platform configuration to the platforms list.
        Parameters:
        action - closure representing a platform configuration