From dd65e3bbc77bc6f683d6b2371252184d76df1dc3 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 4 May 2016 23:25:33 -0800 Subject: [PATCH] Comments. --- .../kotlin/com/beust/kobalt/api/ITestJvmFlagContributor.kt | 4 ++++ 1 file changed, 4 insertions(+) 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 }