public interface CustomManifestConfigurator
| Modifier and Type | Method and Description |
|---|---|
void |
matchGradleApiVersion()
Sets a consumer attribute that will match the Gradle version under test or a later one.
|
void |
matchJdkVersion()
Sets a consumer attribute that will match against the configured JDK for the test.
|
void |
useGradleApiVersion(java.util.function.Function<java.lang.String,java.lang.String> selector)
Customise how the Gradle API version is selected
|
void |
useGradleApiVersion(java.lang.String ver)
Sets a consumer attribute that will match the given Gradle version or a later one.
|
void |
useJdkVersion(java.lang.Integer ver)
Sets a consumer attrivute that will match against the provider major JDK version or a later one.
|
void matchGradleApiVersion()
void useGradleApiVersion(java.lang.String ver)
ver - Gradle API minimum versionvoid useGradleApiVersion(java.util.function.Function<java.lang.String,java.lang.String> selector)
selector - A function object that is passed a Gradle version and should return a suitable string that
can vbe used as a Gradle API attribute value. May return null to not set the attribute.void matchJdkVersion()
void useJdkVersion(java.lang.Integer ver)
ver - JDK minimum version.