Interface UsesVariables


  • public interface UsesVariables
    Task interface that indicates the task requires variables.
    Since:
    2.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.gradle.api.provider.Provider<java.util.List<java.io.File>> getVariablesFiles()
      The location of the variables files.
      void setVariablesFiles​(org.gradle.api.provider.Provider<java.util.List<java.io.File>> file)
      Sets the location of the variables file.
    • Method Detail

      • getVariablesFiles

        @InputFiles
        org.gradle.api.provider.Provider<java.util.List<java.io.File>> getVariablesFiles()
        The location of the variables files.
        Returns:
        Location provider
      • setVariablesFiles

        void setVariablesFiles​(org.gradle.api.provider.Provider<java.util.List<java.io.File>> file)
        Sets the location of the variables file.
        Parameters:
        file - Location provider.