Class MultiJVMTestingExtension
-
- All Implemented Interfaces:
-
java.io.Serializable
public class MultiJVMTestingExtension implements Serializable
Extension for the MultiJVMTestingPlugin.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMultiJVMTestingExtension.CompanionSupport constants.
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerDEFAULT_COMPLIANCE_LEVELprivate final Property<Integer>jvmVersionForCompilationprivate final Property<Integer>maximumSupportedJvmVersionprivate final Provider<Set<Integer>>supportedJvmVersionsprivate final Provider<Set<Integer>>supportedLtsVersionsprivate final Provider<Set<Integer>>supportedLtsVersionsAndLatestprivate final IntegerlatestJavaprivate final IntegerlatestLtsprivate final IntegeroldestSupportedJavaprivate final IntegerlatestJavaSupportedByGradleprivate final Set<Integer>allLtsVersionsprivate final Provider<Set<Integer>>jvmVersionsTestedByDefaultpublic final static MultiJVMTestingExtension.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description MultiJVMTestingExtension(ObjectFactory objects)
-
Method Summary
Modifier and Type Method Description final Property<Integer>getJvmVersionForCompilation()The JVM version that is used as target for compiling the code. final Property<Integer>getMaximumSupportedJvmVersion()Newest JVM version supported by the project. final Provider<Set<Integer>>getSupportedJvmVersions()All the JVM versions supported by the project. final Provider<Set<Integer>>getSupportedLtsVersions()The set of all Long-Term Support JVM versions supported by this project. final Provider<Set<Integer>>getSupportedLtsVersionsAndLatest()Union of supportedLtsVersions and maximumSupportedJvmVersion. final IntegergetLatestJava()Shortcut for accessing Companion.latestJava in the DSL. final IntegergetLatestLts()Shortcut for accessing Companion.latestJava in the DSL. final IntegergetOldestSupportedJava()Shortcut for accessing Companion.OLDEST_LTS in the DSL. final IntegergetLatestJavaSupportedByGradle()Shortcut for accessing Companion.latestJavaSupportedByGradle in the DSL. final Set<Integer>getAllLtsVersions()All known Long Term Support JVM versions. final Provider<Set<Integer>>getJvmVersionsTestedByDefault()final UnittestByDefaultWith(Integer jvms)Forcibly tests with the provided jvms (unless they are excluded). final UnittestByDefaultWith(Provider<Set<Integer>> jvms)Forcibly tests with the provided jvms (unless they are excluded). final UnitexcludeSupportFor(Integer jvms)Forcibly removes support for the provided jvms. -
-
Method Detail
-
getJvmVersionForCompilation
final Property<Integer> getJvmVersionForCompilation()
The JVM version that is used as target for compiling the code.
-
getMaximumSupportedJvmVersion
final Property<Integer> getMaximumSupportedJvmVersion()
Newest JVM version supported by the project.
-
getSupportedJvmVersions
final Provider<Set<Integer>> getSupportedJvmVersions()
All the JVM versions supported by the project.
-
getSupportedLtsVersions
final Provider<Set<Integer>> getSupportedLtsVersions()
The set of all Long-Term Support JVM versions supported by this project.
-
getSupportedLtsVersionsAndLatest
final Provider<Set<Integer>> getSupportedLtsVersionsAndLatest()
Union of supportedLtsVersions and maximumSupportedJvmVersion.
-
getLatestJava
final Integer getLatestJava()
Shortcut for accessing Companion.latestJava in the DSL.
-
getLatestLts
final Integer getLatestLts()
Shortcut for accessing Companion.latestJava in the DSL.
-
getOldestSupportedJava
final Integer getOldestSupportedJava()
Shortcut for accessing Companion.OLDEST_LTS in the DSL.
-
getLatestJavaSupportedByGradle
final Integer getLatestJavaSupportedByGradle()
Shortcut for accessing Companion.latestJavaSupportedByGradle in the DSL.
-
getAllLtsVersions
final Set<Integer> getAllLtsVersions()
All known Long Term Support JVM versions.
-
getJvmVersionsTestedByDefault
final Provider<Set<Integer>> getJvmVersionsTestedByDefault()
-
testByDefaultWith
final Unit testByDefaultWith(Integer jvms)
Forcibly tests with the provided jvms (unless they are excluded).
-
testByDefaultWith
final Unit testByDefaultWith(Provider<Set<Integer>> jvms)
Forcibly tests with the provided jvms (unless they are excluded).
-
excludeSupportFor
final Unit excludeSupportFor(Integer jvms)
Forcibly removes support for the provided jvms.
-
-
-
-