forked from scala/community-build
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommon.conf
More file actions
583 lines (515 loc) · 22 KB
/
Copy pathcommon.conf
File metadata and controls
583 lines (515 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
// Note: the Typesafe Config library is a bit picky with suffixes;
// the common files included via the "include" directive should
// have a ".conf" suffix.
// Each project is prefixed by ${vars.base} { ...
// so that common options or settings can be set by the
// configuration that includes this common file.
//
// Note however that += won't work inside vars.base.
// It's https://github.com/typesafehub/config/issues/160.
// That's why if you override extra.commands you must
// explicitly include default-commands.
///////////////////////////////////////////////////////////////////////
//
// This configuration file lists contain a set of projects
// and repositories, tracking the development of various community
// projects on top of a given (stable or release) Scala version.
//
// Its purpose is to allow developers to be informed whenever a change
// in one of the project breaks one or more other projects.
//
//
// This is the Typesafe development build file for the Scala 2.11.x branch.
// ------------------------------------------------------------------------
//
// This build file tracks the Scala 2.11.x branch, and is used
// to track the current development of Typesafe projects against
// (mostly) stable versions of their other required projects.
//
// Therefore:
// - Typesafe projects are either master or a development/unstable branch
// - the other projects are either from a stable release, a pre-release,
// or a branch from a fork that is intended to stabilize the project.
//
// TODO: list the projects we're building, if not all of them
vars: {
scala-ref : "scala/scala.git#2.11.x"
scala-ref : ${?scala_ref} // allow overriding scala-ref using the scala_ref environment variable
// TODO: merge required changes upstream to get rid of our forks, maintaining our one won't scale
browse-ref : "SethTisue/browse.git#topic/2.11-compat"
lift-framework-ref : "lift/framework.git#3.0-M2-release"
spray-ref : "spray/spray.git#v1.3.3"
// only building project twirl-api, fixed sha from master branch that has Scala 2.11 compatibility patches merged
spray-twirl-ref : "spray/twirl.git#102978cb508684aee0cfa09d71027965cdcd77b4"
// - fix for matching scalaBinaryVersion that causes issues in dbuild
// - That has been merged, but master is now unusable in Java 6 due to
// the use of typesafe-config 1.3.0
// https://github.com/playframework/interplay/commit/73f7c9b434be180c27611aebb089d55f6445bcf5#commitcomment-11275807
play-twirl-ref : "playframework/twirl.git#pull/45/head"
spray-json-ref : "spray/spray-json.git"
// fixed sha from 2.10.x branch that has Scala 2.11 compatibility patches merged
scala-io-ref : "adriaanm/scala-io.git#community-build"
json4s-ref : "json4s/json4s.git#v3.2.10_2.11"
// 2.4.x requires JDK 8, so here we stay on 2.3.x
playframework-ref : "playframework/playframework.git#2.3.x"
// fixed sha from master that has Scala 2.11 patches merged
parboiled-ref : "sirthias/parboiled.git#c53e650212f222c9b1f75fa1ab13d7cab9db164e"
// This pull request supports the fully-cross-versioned continuations plugin, shipped with 2.11+
scala-arm-ref : "jsuereth/scala-arm.git#pull/31/head"
genjavadoc-ref : "typesafehub/genjavadoc.git#v0.5_2.11.0-M8"
// There's no suitable release yet, so we depend on this commit. Upgrade to the next tagged version once released
scala-refactoring-ref : "scala-ide/scala-refactoring.git#44dca8b74808528693f884cfd3c5c9d3ed13e519"
// "release-0.7" is a stable branch, used to cut 0.7 against new Scala milestones at this time
scala-stm-ref : "nbronson/scala-stm.git#release-0.7"
scalacheck-ref : "rickynils/scalacheck.git#1.11.6"
scalatest-ref : "scalatest/scalatest.git#2.2.3-and-greater"
// zeromq-scala-binding's master includes this fix (and others), which break akka-zeromq (?):
// https://github.com/valotrading/zeromq-scala-binding/commit/c2a8a87673a1a3468486d1af9a6460bfed25c7a2
// therefore (which has a broken libdep of scalatest, however (cross full)):
zeromq-scala-binding-ref : "valotrading/zeromq-scala-binding.git#062e9438e322ec29d75b9649cb2aafa6ba3198a6"
// fixed sha/tag (a compromise), the sha points at master that supports Scala 2.11
spire-ref : "non/spire.git#3d2a41e91a1f6946fac63660f6157d4a6e4a281d"
shapeless-ref : "milessabin/shapeless.git"
scoverage-ref : "scoverage/scalac-scoverage-plugin.git#1.0.2"
// change from https://github.com/sbt/sbt/pull/1509 broke building sbt with Scala 2.11
// this problem is tracked in https://github.com/sbt/sbt/issues/1523
// for now, we stick to fixed sha1 of sbt right before the merge of #1509
sbt-ref : "sbt/sbt.git#0b2f2ae5a8ab2b082b6e15b196d671a4c18cc9f2"
// this is commit corresponding to 1.3.0 release, unfortunely pimpathon doesn't tag its releases
pimpathon-ref : "stacycurl/pimpathon.git#d2354dd92f5481610f4610edba3574880b07263e"
sbt-testng-interface-ref : "SethTisue/sbt-testng-interface.git#no-bintray"
utest-ref : "lihaoyi/utest.git"
breeze-ref : "scalanlp/breeze.git#releases/v0.12"
// tracking upstream (the ideal)
akka-ref : "akka/akka.git#release-2.3"
async-ref : "scala/async.git"
scala-continuations-ref : "scala/scala-continuations.git"
scala-parser-combinators-ref : "scala/scala-parser-combinators.git"
scala-partest-ref : "scala/scala-partest.git"
scala-partest-interface-ref : "scala/scala-partest-interface.git"
scala-xml-ref : "scala/scala-xml.git"
scala-swing-ref : "scala/scala-swing.git#1.0.x"
scala-records-ref : "scala-records/scala-records.git"
macro-paradise-ref : "scalamacros/paradise.git#2.11.x"
macro-compat-ref : "milessabin/macro-compat.git"
// TODO move back to master after adding scalaz-stream to the community build.
// the fork was necessary because Specs 2.4 uses Shapeless 2.0.0 but we want
// to be on 2.2.x, and we hit a small source incompatibility.
specs2-ref : "SethTisue/specs2.git#specs-24-compat-w-shapeless-22"
zinc-ref : "typesafehub/zinc.git"
sbinary-ref : "harrah/sbinary.git"
// TODO move back to master; see https://github.com/scala/community-builds/issues/234
// for details
sbt-republish-ref : "typesafehub/sbt-republish.git#9f7109c705175c6d8e7e99c60e53959f9e4c5df0"
scalaz-ref : "scalaz/scalaz.git#series/7.1.x"
discipline-ref : "typelevel/discipline.git#v0.2"
scala-js-ref : "scala-js/scala-js.git"
slick-ref : "slick/slick.git#3.1" // stay here; master wants Java 8
scalamock-ref : "paulbutcher/scalamock.git"
scalariform-ref : "daniel-trinh/scalariform.git"
// master depends on Akka HTTP and Akka Stream, which are tricky to depend on
// (they are built only a special branch). so freeze right over the dependency was added.
ensime-ref : "ensime/ensime-server.git#f4de40f6ce93afa75fd5bbe153c5f1df73035b1a"
// master uses Shapeless 2.3 only features, so at this time it doesn't make sense to
// track. there is no other branch we can track, so we use a version tag. at time of
// writing (Oct 2015) 1.1.0 is both the latest released version and the version that
// Ensime depends on. and Ensime is the main reason we're adding this at all
spray-json-shapeless-ref : "fommil/spray-json-shapeless.git#v1.1.0"
scala-gopher-ref : "rssh/scala-gopher.git#community-build"
// version settings
sbt-version : "0.13.12"
}
vars {
scalac-opts : ""
scalac-opts : ${?scalac_opts} // allows additional compiler options using the scalac_opts environment
default-commands : []
}
// appendScalacOptions and removeScalacOptions
// let us work around https://github.com/typesafehub/dbuild/issues/144
vars.default-commands += """
set commands ++= {
def alterScalacOptions(s: State, fn: Seq[String] => Seq[String]): State = {
val extracted = Project extract s
import extracted._
val r = Project.relation(extracted.structure, true)
val allDefs = r._1s.toSeq
val projectScope = Load.projectScope(currentRef)
val scopes = allDefs.filter(_.key == scalacOptions.key).map(_.scope).distinct
val redefined = scopes.map(scope => scalacOptions in scope <<= (scalacOptions in scope).map(fn))
val session = extracted.session.appendRaw(redefined)
BuiltinCommands.reapply(session, structure, s)
}
def appendScalacOptions(s: State, args: Seq[String]) = {
def appendDistinct[A](x: Seq[A], y: Seq[A]) =
x.filterNot(y.contains) ++ y
alterScalacOptions(s, appendDistinct(_, args))
}
def removeScalacOptions(s: State, args: Seq[String]) =
alterScalacOptions(s, _.filterNot(args.contains))
Seq(
Command.args("appendScalacOptions", "<option>")(appendScalacOptions),
Command.args("removeScalacOptions", "<option>")(removeScalacOptions))
}
"""
vars.default-commands += "appendScalacOptions "${vars.scalac-opts}
vars.base.extra.commands = ${vars.default-commands}
vars.ivyPat: ", [organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]"
options.resolvers: {
01: "local"
02: "dbuild: https://scala-ci.typesafe.com/artifactory/dbuild/"
03: "dbuild-ivy: https://scala-ci.typesafe.com/artifactory/dbuild-ivy/"${vars.ivyPat}
04: "dbuild-unchecked: https://scala-ci.typesafe.com/artifactory/dbuild-unchecked/" // for sbt plugins not available on ivy (they'll fail the pom check on the `dbuild` cache repo above)
}
// we don't have enough disk space to keep stuff longer
options.cleanup: {
extraction: {
success: 96
failure: 120
}
build: {
success: 96
failure: 120
}
}
build += {
check-missing: [ true, false ]
cross-version: [ disabled, standard ]
space.from: [ default ]
space.to: default
extraction-version: "2.11.7"
sbt-version: ${vars.sbt-version}
projects: [
${vars.base} {
name: "parboiled",
uri: "https://github.com/"${vars.parboiled-ref},
extra: ${vars.base.extra} {
projects: ["parboiled-scala"]
// tests do not compile due to source incompatible change in scalatest
// TestNGSuite became a class but was a trait
run-tests: false
}
}
${vars.base} {
name: "json4s",
uri: "https://github.com/"${vars.json4s-ref}
extra.projects: ["json4s-native", "json4s-jackson"]
}
${vars.base} {
name: "lift-json",
uri: "https://github.com/"${vars.lift-framework-ref}
extra.projects: ["lift-json"]
// test failure:
//[info] [info] ! Either can't be deserialized with type hints
//[info] [error] ClassNotFoundException: : scala.util.Left (Formats.scala:223)
// !!!: probably we should investigate
extra.run-tests: false
}
${vars.base} {
name: "spray-twirl",
uri: "https://github.com/"${vars.spray-twirl-ref}
extra.projects: ["twirl-api"]
}
${vars.base} {
name: "play-twirl",
uri: "https://github.com/"${vars.play-twirl-ref}
}
${vars.base} {
name: "spray-json",
uri: "https://github.com/"${vars.spray-json-ref}
}
${vars.base} {
name: "spray",
uri: "https://github.com/"${vars.spray-ref},
extra: ${vars.base.extra} {
// skip tests for now; see https://github.com/scala/community-builds/issues/110
run-tests: false
// disable subprojects depending on shapeless 1
exclude: ["spray-routing", "spray-routing-tests"]
// disable running sphinx, it would be great if dbuild
// offered a mechanism for excluding particular project (e.g. docs)
commands: ${vars.default-commands} [
"set SphinxSupport.sphinxCompile in docs := Seq.empty"
]
// disable parallel execution of tests as a work around for non-deterministic
// failures, see: https://github.com/scala/community-builds/pull/69#issuecomment-63324597
settings: ["parallelExecution in GlobalScope in Test := false"]
}
}
${vars.base} {
name: "Play2-core",
uri: "https://github.com/"${vars.playframework-ref},
extra: ${vars.base.extra} {
projects: ["Play"]
directory: "framework"
run-tests: false
// workaround for the problem with PlayVersion.scala file is being passed twice to Scala compiler
// and we get double definition error
commands: ${vars.default-commands} [
"set sources in (PlayProject, Compile, compile) := (sources in (PlayProject, Compile, compile)).value.distinct"
]
// details: https://github.com/scala/community-builds/pull/227
options: ["-Dplay.sbt.version="${vars.sbt-version}]
}
}
${vars.base} {
name: "scala-io"
uri: "https://github.com/"${vars.scala-io-ref}
extra: ${vars.base.extra} {
projects: ["core", "file"]
// one of the tests fail for some reason
run-tests: false
}
}
${vars.base} {
name: "scala-arm"
uri: "https://github.com/"${vars.scala-arm-ref}
}
${vars.base} {
name: "scala-partest-interface",
uri: "https://github.com/"${vars.scala-partest-interface-ref}
}
//
// Community projects (not from Typesafe), and other support libraries:
// these should be stable releases, pre-releases, or branches aimed
// at stabilizing those projects when used in conjunction with this Scala version.
//
${vars.base} {
name: scala-stm
uri: "https://github.com/"${vars.scala-stm-ref}
// a minor incompatibility with recent versions of scalatest, therefore:
extra.run-tests: false
}
${vars.base} {
name: shapeless
uri: "https://github.com/"${vars.shapeless-ref}
extra.projects: ["coreJVM"]
}
${vars.base} {
name: specs2
uri: "https://github.com/"${vars.specs2-ref}
extra.run-tests: false // at least SnippetsTest is failing.
}
${vars.base} {
name: sbinary
uri: "https://github.com/"${vars.sbinary-ref}
}
${vars.base} {
name: scalaz
uri: "https://github.com/"${vars.scalaz-ref}
}
${vars.base} {
name: "scala-records"
uri: "https://github.com/"${vars.scala-records-ref}
extra.exclude: ["coreJS"]
}
${vars.base} {
name: "zeromq-scala-binding"
uri: "https://github.com/"${vars.zeromq-scala-binding-ref}
extra: ${vars.base.extra} { run-tests: false }
}
${vars.base} {
name: "scalatest"
uri: "https://github.com/"${vars.scalatest-ref}
extra: ${vars.base.extra} {
projects: ["scalatest"]
commands: ${vars.default-commands} [
"set libraryDependencies += \"org.scala-lang.modules\" %% \"scala-xml\" % \"1.0.0-RC6\""
]
run-tests: false
}
}
${vars.base} {
name: "discipline"
uri: "https://github.com/"${vars.discipline-ref}
}
${vars.base} {
name: "spire"
uri: "https://github.com/"${vars.spire-ref}
// tests crash with:
// [info] [error] Could not run test spire.laws.LawTests:
// java.lang.ClassFormatError: Duplicate method name&signature in class file spire/std/OrderProductInstances$$anon$228
extra.run-tests: false
}
${vars.base} {
name: "breeze"
uri: "https://github.com/"${vars.breeze-ref}
}
${vars.base} {
name: "genjavadoc-plugin",
uri: "https://github.com/"${vars.genjavadoc-ref}
extra.projects: genjavadoc-plugin
}
${vars.base} {
name: "genjavadoc",
uri: "https://github.com/"${vars.genjavadoc-ref}
extra: ${vars.base.extra} {
projects: ["tests","javaOut"]
run-tests: false
}
}
${vars.base} {
name:"akka"
uri: "https://github.com/"${vars.akka-ref}
extra: ${vars.base.extra} {
options: ["-Dakka.genjavadoc.enabled=true", "-Dakka.scaladoc.diagrams=false", "-Dakka.build.aggregateSamples=false"]
projects: ["akka-scala-nightly"]
run-tests: false
}
}
${vars.base} {
name: "scala-refactoring",
uri: "https://github.com/"${vars.scala-refactoring-ref},
extra: ${vars.base.extra} {
directory: "org.scala-refactoring.library"
}
}
//
// Typesafe-developed projects: development branches / master / unstable releases
//
${vars.base} {
name: "async"
uri: "https://github.com/"${vars.async-ref}
extra.run-tests: false // ToolBox based tests report missing JARs. Probably some poor assumption in the async tests.
}
${vars.base} {
name: "slick"
uri: "https://github.com/"${vars.slick-ref}
// without this dbuild doesn't pick up that one of the subprojects has this dependency.
// it doesn't even make sense; it seems to me that testNGSettings should not be adding
// a dependency of the plugin to the libraryDependencies of the test code.
// the line in question is:
// https://github.com/sbt/sbt-testng-interface/blob/ca730f705f48af2139f39bc726b474afec072738/plugin/src/main/scala/de/johoop/testngplugin/TestNGPlugin.scala#L44
// I think it's a confusion of levels, but maybe I'm missing something. - ST 8/27/15
deps.inject: ["de.johoop#sbt-testng-interface"]
// disable fragile tests (https://github.com/scala/community-builds/issues/12#issuecomment-149941055)
extra.exclude: ["osgitests"]
}
${vars.base} {
name: "sbt-testng-interface",
uri: "https://github.com/"${vars.sbt-testng-interface-ref}
extra.projects: ["sbt-testng-interface"] // just the interface, we don't need to build the plugin
}
${vars.base} {
name: "browse",
uri: "https://github.com/"${vars.browse-ref}
extra.commands: ${vars.default-commands} [
"set libraryDependencies += \"org.scala-lang.modules\" %% \"scala-xml\" % \"1.0.0-RC6\""
]
extra.exclude: ["test", "testLink"]
}
${vars.base} {
name: "sbt",
uri: "https://github.com/"${vars.sbt-ref}
extra: ${vars.base.extra} {
run-tests: false
exclude: ["root","launch-test"]
}
}
${vars.base} {
name: "ensime",
uri: "https://github.com/"${vars.ensime-ref}
// scaladoc fails with
// [ensime] [info] Compiling 73 Scala sources to .../target/scala-2.11/classes...
// [ensime] [info] Main Scala API documentation to .../target/scala-2.11/api...
// [ensime] [error] .../src/main/scala/org/ensime/indexer/SourceResolver.scala:55: value toMultiMap is not a member of scala.collection.immutable.Set[(org.ensime.indexer.PackageName, org.apache.commons.vfs2.FileObject)]
// [ensime] [error] possible cause: maybe a semicolon is missing before `value toMultiMap'?
// [ensime] [error] }.toMultiMap[Set]
extra.commands: ${vars.default-commands} [
"set every sources in doc in Compile := List()"
]
}
${vars.base} {
name: "pimpathon",
uri: "https://github.com/"${vars.pimpathon-ref}
}
${vars.base} {
name: "scalariform",
uri: "https://github.com/"${vars.scalariform-ref}
// avoid building misc subproject that depends on Swing (and is not needed by any other project)
extra.projects: ["scalariform"]
}
${vars.base} {
name: "scalamock",
uri: "https://github.com/"${vars.scalamock-ref}
}
${vars.base} {
name: "spray-json-shapeless",
uri: "https://github.com/"${vars.spray-json-shapeless-ref}
}
${vars.base} {
name: "scoverage"
uri: "https://github.com/"${vars.scoverage-ref}
extra: ${vars.base.extra} {
run-tests: false // [info] java.io.FileNotFoundException: Could not locate [~/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.0.jar].
}
}
// scala-logging-slf4j is used by scoverage, but:
// - scala-logging-slf4j v2.1.2 won't compile (not found: value LoggerMacro)
// - and v3.0.0 changed the artifacts, so we grab v2.1.2 via Ivy instead.
// ${vars.base} {
// name: "scala-logging"
// uri: "https://github.com/typesafehub/scala-logging.git#v2.1.2"
// }
{
name: "scala-logging-slf4j"
system: "ivy"
uri: "ivy:com.typesafe.scala-logging#scala-logging-slf4j_2.11;2.1.2"
}
{
name: "scala-logging-api"
system: "ivy"
uri: "ivy:com.typesafe.scala-logging#scala-logging-api_2.11;2.1.2"
}
${vars.base} {
name: "zinc",
uri: "https://github.com/"${vars.zinc-ref}
// with 0.13.9 I got
// project/Scriptit.scala:56: method distinctParser in object Defaults cannot be accessed in object sbt.Defaults
extra.sbt-version: "0.13.8"
}
${vars.base} {
name: "sbt-republish",
uri: "http://github.com/"${vars.sbt-republish-ref}
space: default // We don't compile plugins, for 0.12/2.9.x
}
${vars.base} {
name: "scala-js",
uri: "http://github.com/"${vars.scala-js-ref}
extra: ${vars.base.extra} {
// hopefully avoid intermittent OutOfMemoryErrors with default 1.5G heap?
// e.g. https://scala-ci.typesafe.com/job/scala-2.11.x-jdk8-integrate-community-build/111/consoleFull
options: ["-Xmx2048m"]
projects: [ tools, testSuite, stubs ]
commands: ${vars.default-commands} [
// - Disable compiler/test because it is very fragile.
"set test in (Build.compiler, Test) := {}",
// - Disable fatal Scaladoc warnings, also fragile
"removeScalacOptions -Xfatal-warnings",
// - Use Node.js with the executable "nodejs" instead of "node" (environmental in the CI infrastructure)
// We disable source map tests to save ourselves a `npm install source-map-support` on the workers
"set jsEnv in testSuite := NodeJSEnv(executable = \"nodejs\").value.withSourceMap(false)"
]
}
}
${vars.base} {
name: "utest",
uri: "http://github.com/"${vars.utest-ref}
// no Scala.js plz
extra.projects: ["utestJVM"]
}
${vars.base} {
name: "macro-paradise",
uri: "http://github.com/"${vars.macro-paradise-ref}
}
${vars.base} {
name: "macro-compat",
uri: "http://github.com/"${vars.macro-compat-ref}
// no Scala.js plz
extra.projects: ["testJVM"]
}
${vars.base} {
name: "scala-gopher",
uri: "http://github.com/"${vars.scala-gopher-ref}
}
]
}