Class GradleUtils


  • public class GradleUtils
    extends java.lang.Object
    Utility class containing various gradle related methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      GradleUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.gradle.api.artifacts.Configuration findConfiguration​(org.gradle.api.Project project, java.lang.String name)  
      static org.gradle.api.file.FileCollection findMainArtifacts​(org.gradle.api.Project project)  
      static org.gradle.api.tasks.SourceSet findSourceSet​(org.gradle.api.Project project, java.lang.String sourceSetName)  
      static org.gradle.api.plugins.JavaPluginExtension getJavaPluginConvention​(org.gradle.api.Project project)  
      static org.gradle.api.file.FileCollection transitiveProjectArtifacts​(org.gradle.api.Project project, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • GradleUtils

        public GradleUtils()
    • Method Detail

      • findSourceSet

        public static org.gradle.api.tasks.SourceSet findSourceSet​(org.gradle.api.Project project,
                                                                   java.lang.String sourceSetName)
      • getJavaPluginConvention

        public static org.gradle.api.plugins.JavaPluginExtension getJavaPluginConvention​(org.gradle.api.Project project)
      • findConfiguration

        public static org.gradle.api.artifacts.Configuration findConfiguration​(org.gradle.api.Project project,
                                                                               java.lang.String name)
      • transitiveProjectArtifacts

        public static org.gradle.api.file.FileCollection transitiveProjectArtifacts​(org.gradle.api.Project project,
                                                                                    java.lang.String name)
      • findMainArtifacts

        public static org.gradle.api.file.FileCollection findMainArtifacts​(org.gradle.api.Project project)