Class GradleUtils
- java.lang.Object
-
- org.graalvm.buildtools.gradle.internal.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.JavaPluginConvention
getJavaPluginConvention(org.gradle.api.Project project)
static boolean
isAtLeastGradle6dot8()
static boolean
isAtLeastGradle7()
static boolean
isAtLeastGradle7dot1()
static org.gradle.api.file.FileCollection
transitiveProjectArtifacts(org.gradle.api.Project project, java.lang.String name)
-
-
-
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.JavaPluginConvention getJavaPluginConvention(org.gradle.api.Project project)
-
isAtLeastGradle7
public static boolean isAtLeastGradle7()
-
isAtLeastGradle6dot8
public static boolean isAtLeastGradle6dot8()
-
isAtLeastGradle7dot1
public static boolean isAtLeastGradle7dot1()
-
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)
-
-