public interface ModularitySpec
Handles modularity specification. Prior to Gradle 6.4 operations on these moethods will be NOOPs.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Provider<Boolean> |
getInferModulePath()Whether module path should be inferred. |
|
public Provider<String> |
getMainModule()Provider to the main module name. |
|
public void |
setInferModulePath(boolean toggle)Whether module path should be inferred. |
|
public void |
setInferModulePath(Provider<Boolean> toggle)Whether module path should be inferred. |
|
public void |
setMainModule(Object mod)Set the main module name. |
Whether module path should be inferred. Prior to Gradle 6.4, this will always return a false value.
Provider to the main module name.
Whether module path should be inferred. Ignored prior to Gradle 6.4.
toggle - Whether to infer the module path.Whether module path should be inferred. Ignored prior to Gradle 6.4.
toggle - Whether to infer the module path.Set the main module name.
mod - Anything convertible to a string.