Provides various project-related information.
| Type | Name and description |
|---|---|
Provider<String> |
versionProvider |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Configuration |
asConfiguration(Object configurationThingy)Resolves an arbitrary item to a Configuration instance. |
|
java.util.Collection<Configuration> |
asConfigurations(java.util.Collection<?> configurationThingies)Resolves arbitrary items to a collection of Configuration instances. |
|
Provider<String> |
getGroupProvider()Lazy-evaluated project group. |
|
Provider<String> |
getVersionProvider()Lazy-evaluated project version. |
|
void |
setVersionProvider(Object newVersion)Sets a new version for a project. |
Resolves an arbitrary item to a Configuration instance.
configurationThingy - Instance or Configuration or something that resolves to a string.Resolves arbitrary items to a collection of Configuration instances.
configurationThingies - Collection that might contain Configuration or string-type instancesLazy-evaluated project group.
Lazy-evaluated project version.
Sets a new version for a project.
This creates an internal objhect that can safely be evaluated by Gradle's Project.getVersion.
newVersion - Anything that can be converted to a string using
org.ysb33r.grolifant.api.core.StringTools.