public interface CustomJdk
Configuration block for custom JDK.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
useJdk(Integer jdk)Uses a custom JDK via the JDK toolchain. |
|
public void |
useJdk(Provider<JavaLauncher> launcher)Uses a custom JDK via the JDK toolchain. |
|
public void |
useWithVariantReselection(Integer jdk)Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied. |
|
public void |
useWithVariantReselection(Provider<JavaLauncher> launcher)Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied. |
|
public void |
useWithVariantReselection(Integer jdk, Action<AttributeContainer> ac)Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied. |
|
public void |
useWithVariantReselection(Provider<JavaLauncher> launcher, Action<AttributeContainer> ac)Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied. |
Uses a custom JDK via the JDK toolchain. This will override the launcher that is used for both compilation of the test set and the runner of the test set.
jdk - Major JDK versionUses a custom JDK via the JDK toolchain. This will override the launcher that is used for both compilation of the test set and the runner of the test set.
launcher - JDK launcherUses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied.
Once this is called, then GradleTestSet.useCustomManifest or useJdk(Integer) should not be called.
jdk - Major JDK versionUses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied.
Once this is called, then GradleTestSet.useCustomManifest or useJdk(Integer) should not be called.
launcher - JDK launcherUses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied.
Once this is called, then GradleTestSet.useCustomManifest or useJdk(Integer) should not be called.
jdk - Major JDK versionac - Manipulates the attributes for the custom manifest configurationUses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is applied.
Once this is called, then GradleTestSet.useCustomManifest or useJdk(Integer) should not be called.
launcher - JDK launcherac - Manipulates the attributes for the custom manifest configuration