|
256 | 256 | {
|
257 | 257 | "name": "classpath",
|
258 | 258 | "type": "java.io.File*",
|
| 259 | + "default": "new java.io.File[0]", |
259 | 260 | "doc": [
|
260 | 261 | "The classpath to use for compilation.",
|
261 | 262 | "This will be modified according to the ClasspathOptions used to configure the ScalaCompiler."
|
262 |
| - ] |
| 263 | + ], |
| 264 | + "since": "0.1.0" |
263 | 265 | },
|
264 | 266 | {
|
265 | 267 | "name": "sources",
|
266 | 268 | "type": "java.io.File*",
|
| 269 | + "default": "new java.io.File[0]", |
267 | 270 | "doc": [
|
268 | 271 | "All sources that should be recompiled.",
|
269 | 272 | "This should include Scala and Java sources, which are identified by their extension."
|
270 |
| - ] |
| 273 | + ], |
| 274 | + "since": "0.1.0" |
| 275 | + }, |
| 276 | + { |
| 277 | + "name": "classesDirectory", |
| 278 | + "type": "java.io.File", |
| 279 | + "default": "new java.io.File(\"classes\")", |
| 280 | + "since": "0.1.0" |
271 | 281 | },
|
272 |
| - { "name": "classesDirectory", "type": "java.io.File" }, |
273 | 282 | {
|
274 | 283 | "name": "scalacOptions",
|
275 | 284 | "type": "String*",
|
276 |
| - "doc": "The options to pass to the Scala compiler other than the sources and classpath to use." |
| 285 | + "default": "new String[0]", |
| 286 | + "doc": "The options to pass to the Scala compiler other than the sources and classpath to use.", |
| 287 | + "since": "0.1.0" |
277 | 288 | },
|
278 | 289 | {
|
279 | 290 | "name": "javacOptions",
|
280 | 291 | "type": "String*",
|
281 |
| - "doc": "The options to pass to the Java compiler other than the sources and classpath to use." |
| 292 | + "default": "new String[0]", |
| 293 | + "doc": "The options to pass to the Java compiler other than the sources and classpath to use.", |
| 294 | + "since": "0.1.0" |
| 295 | + }, |
| 296 | + { |
| 297 | + "name": "maxErrors", |
| 298 | + "type": "int", |
| 299 | + "default": "100", |
| 300 | + "since": "0.1.0" |
282 | 301 | },
|
283 |
| - { "name": "maxErrors", "type": "int" }, |
284 | 302 | {
|
285 | 303 | "name": "sourcePositionMapper",
|
286 |
| - "type": "xsbti.F1<xsbti.Position, xsbti.Position>" |
| 304 | + "type": "xsbti.F1<xsbti.Position, xsbti.Position>", |
| 305 | + "default": "new xsbti.F1<xsbti.Position, xsbti.Position>() { public xsbti.Position apply(xsbti.Position a) { return a; } }", |
| 306 | + "since": "0.1.0" |
287 | 307 | },
|
288 | 308 | {
|
289 | 309 | "name": "order",
|
290 | 310 | "type": "xsbti.compile.CompileOrder",
|
291 |
| - "doc": "Controls the order in which Java and Scala sources are compiled." |
| 311 | + "default": "xsbti.compile.CompileOrder.Mixed", |
| 312 | + "doc": "Controls the order in which Java and Scala sources are compiled.", |
| 313 | + "since": "0.1.0" |
292 | 314 | }
|
293 | 315 | ]
|
294 | 316 | },
|
|
0 commit comments