Class ComputedVersionValueSource
java.lang.Object
com.cleanroommc.versioning.gradle.ComputedVersionValueSource
- All Implemented Interfaces:
org.gradle.api.provider.ValueSource<String,ComputedVersionValueSource.Parameters>
public abstract class ComputedVersionValueSource
extends Object
implements org.gradle.api.provider.ValueSource<String,ComputedVersionValueSource.Parameters>
Turns a
GitSnapshot and the build environment into the project version.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInputs for the computed version. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.provider.ValueSource
getParameters
-
Constructor Details
-
ComputedVersionValueSource
public ComputedVersionValueSource()
-
-
Method Details
-
getExecOperations
@Inject protected abstract org.gradle.process.ExecOperations getExecOperations()- Returns:
- the injected process runner
-
obtain
- Specified by:
obtainin interfaceorg.gradle.api.provider.ValueSource<String,ComputedVersionValueSource.Parameters>
-