stioner.plugin.2024.9.3.source-code.QuestionerConfigExtension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin Show documentation
Show all versions of plugin Show documentation
Questioner Gradle plugin for CS 124.
package edu.illinois.cs.cs125.questioner.plugin
import edu.illinois.cs.cs125.questioner.lib.Question
import java.util.function.BiPredicate
@Suppress("UNUSED")
open class QuestionerConfigExtension {
var maxMutationCount: Int = 256
var retries: Int = 4
var verbose: Boolean = false
var shuffleTests: Boolean = false
var ignorePackages = listOf(
"com.github.cs124_illinois.questioner.examples.",
"com.github.cs124_illinois.questioner.testing.",
"com.examples.",
)
var publishIncludes: BiPredicate = BiPredicate { _, _ -> true }
fun configPublishIncludes(method: BiPredicate) {
publishIncludes = method
}
}