public interface CustomJdk
| Modifier and Type | Method and Description |
|---|---|
void |
useJdk(java.lang.Integer jdk)
Uses a custom JDK via the JDK toolchain.
|
void |
useJdk(org.gradle.api.provider.Provider<org.gradle.jvm.toolchain.JavaLauncher> launcher)
Uses a custom JDK via the JDK toolchain.
|
void |
useWithVariantReselection(java.lang.Integer jdk)
Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is
applied.
|
void |
useWithVariantReselection(java.lang.Integer jdk,
org.gradle.api.Action<org.gradle.api.attributes.AttributeContainer> ac)
Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is
applied.
|
void |
useWithVariantReselection(org.gradle.api.provider.Provider<org.gradle.jvm.toolchain.JavaLauncher> launcher)
Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is
applied.
|
void |
useWithVariantReselection(org.gradle.api.provider.Provider<org.gradle.jvm.toolchain.JavaLauncher> launcher,
org.gradle.api.Action<org.gradle.api.attributes.AttributeContainer> ac)
Uses a custom JDK and apply an specialist artifact view to the configuration after artifact reselection is
applied.
|
void useJdk(java.lang.Integer jdk)
jdk - Major JDK versionvoid useJdk(org.gradle.api.provider.Provider<org.gradle.jvm.toolchain.JavaLauncher> launcher)
launcher - JDK launchervoid useWithVariantReselection(java.lang.Integer jdk)
Once this is called, then GradleTestSet.useCustomManifest() or useJdk(Integer)
should not be called.
jdk - Major JDK versionvoid useWithVariantReselection(org.gradle.api.provider.Provider<org.gradle.jvm.toolchain.JavaLauncher> launcher)
Once this is called, then GradleTestSet.useCustomManifest() or useJdk(Integer)
should not be called.
launcher - JDK launchervoid useWithVariantReselection(java.lang.Integer jdk,
org.gradle.api.Action<org.gradle.api.attributes.AttributeContainer> ac)
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 configurationvoid useWithVariantReselection(org.gradle.api.provider.Provider<org.gradle.jvm.toolchain.JavaLauncher> launcher,
org.gradle.api.Action<org.gradle.api.attributes.AttributeContainer> ac)
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