Extension for configuring LensKit. This is registered as `lenskit` by the LensKit plugin, so you can globally configureSpec LensKit options: ```groovy lenskit { maxMemory '10g' threadCount 16 } ``` Each property has a default value; the LensKit plugin also examines the project properties for properties starting with `lenskit.` to initialize the extension properties. This allows you to override property defaults on the command line: ``` ./gradlew evaluate -Plenskit.threadCount=10 ```
Type | Name and description |
---|---|
FileCollection |
classpath The classpath to use for LensKit. |
java.util.List<java.lang.String> |
jvmArgs List of JVM arguments to use for LensKit actions. |
java.lang.String |
logFileLevel The log level to use for log files. |
java.lang.String |
logLevel The log level to use. |
java.lang.String |
maxMemory The maximum heap size for the LensKit JVM. |
int |
threadCount The maximum number of threads LensKit should use. |
Type | Name and description |
---|---|
java.lang.Object |
jvmArgs(java.lang.String... val) Add JVM arguments for LensKit tasks. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The classpath to use for LensKit. Defaults to the runtime classpath of the `main` source set.
List of JVM arguments to use for LensKit actions.
The log level to use for log files. Default is unset, resulting in the same level being applied to the console and the log file.
The log level to use. Defaults to 'INFO'.
The maximum heap size for the LensKit JVM. Defaults to `null` (no specfied heap size).
The maximum number of threads LensKit should use. Defaults to 0, which instructs LensKit to use all available threads.