diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ITestJvmFlagContributor.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ITestJvmFlagContributor.kt index 79e369ff..6f1c0bfb 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ITestJvmFlagContributor.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ITestJvmFlagContributor.kt @@ -4,5 +4,9 @@ package com.beust.kobalt.api * Plug-ins that add flags to the JVM used to run tests should implement this interface. */ interface ITestJvmFlagContributor : IContributor { + /** + * The list of JVM flags that will be added to the JVM when the tests get run. @param[currentFlags] is only here + * for convenience, in case you need to look at the current JVM flags before adding your own flags. + */ fun testJvmFlagsFor(project: Project, context: KobaltContext, currentFlags: List) : List }