Package org.grails.cli.compiler
Interface GroovyCompilerConfiguration
-
- All Known Subinterfaces:
GrailsApplicationRunnerConfiguration
public interface GroovyCompilerConfigurationConfiguration for theGroovyCompiler.- Since:
- 2022.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]DEFAULT_CLASSPATHConstant to be used when there is noclasspath.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getClasspath()Returns the classpath for local resources.java.util.List<RepositoryConfiguration>getRepositoryConfiguration()Returns the configuration for the repositories that will be used by the compiler to resolve dependencies.GroovyCompilerScopegetScope()Returns the scope in which the compiler operates.booleanisAutoconfigure()Returns true if auto-configuration transformations should be applied.booleanisGuessDependencies()Returns if jar dependencies should be guessed.booleanisGuessImports()Returns if import declarations should be guessed.booleanisQuiet()Returns if running in quiet mode.
-
-
-
Field Detail
-
DEFAULT_CLASSPATH
static final java.lang.String[] DEFAULT_CLASSPATH
Constant to be used when there is noclasspath.
-
-
Method Detail
-
getScope
GroovyCompilerScope getScope()
Returns the scope in which the compiler operates.- Returns:
- the scope of the compiler
-
isGuessImports
boolean isGuessImports()
Returns if import declarations should be guessed.- Returns:
trueif imports should be guessed, otherwisefalse
-
isGuessDependencies
boolean isGuessDependencies()
Returns if jar dependencies should be guessed.- Returns:
trueif dependencies should be guessed, otherwisefalse
-
isAutoconfigure
boolean isAutoconfigure()
Returns true if auto-configuration transformations should be applied.- Returns:
trueif auto-configuration transformations should be applied, otherwisefalse
-
getClasspath
java.lang.String[] getClasspath()
Returns the classpath for local resources.- Returns:
- a path for local resources
-
getRepositoryConfiguration
java.util.List<RepositoryConfiguration> getRepositoryConfiguration()
Returns the configuration for the repositories that will be used by the compiler to resolve dependencies.- Returns:
- the repository configurations
-
isQuiet
boolean isQuiet()
Returns if running in quiet mode.- Returns:
trueif running in quiet mode
-
-