@groovy.transform.CompileStatic class DefaultModularitySpec extends Object implements org.ysb33r.grolifant5.api.core.jvm.ModularitySpec
Proxy forward to modularity settings on Gradle 7.0+
| Type | Name and description |
|---|---|
Provider<Boolean> |
inferModulePath |
Provider<String> |
mainModule |
| Constructor and description |
|---|
DefaultModularitySpec
(JavaExecSpec spec, org.ysb33r.grolifant5.api.core.ProjectOperations po) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Provider<Boolean> |
getInferModulePath()Whether module path should be inferred. |
|
Provider<String> |
getMainModule()Provider to the main module name. |
|
void |
setInferModulePath(boolean toggle)Whether module path should be inferred. |
|
void |
setInferModulePath(Provider<Boolean> toggle)Whether module path should be inferred. |
|
void |
setMainModule(Object mod)Set the main module name. |
Whether module path should be inferred.
Whether module path should be inferred.
toggle - Whether to infer the module path.Whether module path should be inferred.
toggle - Whether to infer the module path.Set the main module name.
mod - Anything convertible to a string.Groovy Documentation