Commit Graph

279 Commits

Author SHA1 Message Date
Eugene Yokota d004e9e31a
sbt 1.0.0-RC2 2017-07-20 10:37:17 +01:00
Eugene Yokota b2220fe9d4
sbt 1.0.0-RC2 2017-07-20 06:56:37 +01:00
Alexandre Archambault ad78a388f6
Updates for 1.0.0-RC8 2017-07-20 00:23:14 +02:00
Alexandre Archambault 6e86986cde
Updates for 1.0.0-RC7 2017-07-18 17:43:40 +02:00
Eugene Yokota 00a9dd14a4 Bump Contraband to latest 2017-07-17 01:05:30 -04:00
Eugene Yokota c95a885a3a Bump to latest Contraband 2017-07-15 11:17:23 -04:00
Eugene Yokota efa3b1d340
Bump to latest io, scalajson, sjsonnew, contraband, util, lm, zinc 2017-07-06 11:05:24 +01:00
Eugene Yokota 4ac724e529 bump to sbt-contraband 0.3.0-M7 and latest util 2017-07-01 19:44:49 -04:00
Alexandre Archambault d25df01bf5 Updates for 1.0.0-RC6 2017-06-25 15:13:46 +02:00
Alexandre Archambault 361e4167a4
Updates for 1.0.0-RC5 2017-06-21 09:38:28 +02:00
Alexandre Archambault ac5d4cb9cc Updates for 1.0.0-RC4 2017-06-18 19:53:58 +02:00
Eugene Yokota 60e1eb6275 Bump to sbt 1.0.0-M6 2017-06-17 02:19:37 -04:00
Eugene Yokota 04f2a04fa4 sbt-scalafmt 1.3 2017-06-16 16:12:37 -04:00
Eugene Yokota bcc74a962e bump to using sbt 1.0.0-M6
We are missing the plugin for Scalafmt but I think we need to use beta2 ourselves.
2017-06-13 01:09:19 -04:00
Alexandre Archambault ab8df1e305 Switch to scalajs 0.6.17 2017-06-04 15:27:37 +02:00
Alexandre Archambault e0d1a8709b Bump dependencies 2017-06-01 11:52:29 +02:00
Eugene Yokota d952dbb7ba Fix build to publish M6 2017-05-30 02:44:13 -04:00
jvican fd4bf0e635
Replace previous scalafmt plugin by neo-scalafmt
The previous scalafmt plugin had two problems:

* Caching with Coursier did not work correctly
* It failed after the upgrade to 1.0 in my computer (from a clean fork):

```
[error] (testingProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (runProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (taskProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (stdTaskProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (actionsProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (protocolProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (commandProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (mainSettingsProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (mainProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (sbtProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (scriptedPluginProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] (scriptedSbtProj/compile:scalafmtInc) java.lang.NoClassDefFoundError: Could not initialize class scala.meta.package$
[error] Total time: 19 s, completed May 24, 2017 10:44:56 AM
```

This commit replaces the previous scalafmt integration by the one
created by Lucidsoftware, big shoutout! (/cc @pauldraper)

https://github.com/lucidsoftware/neo-sbt-scalafmt
2017-05-24 11:15:22 +02:00
Alexandre Archambault 7c7f236bcc Bump plugins 2017-05-15 18:54:29 +02:00
Alexandre Archambault 763106bf96 Switch to tut 0.5.1 2017-05-15 18:54:29 +02:00
Alexandre Archambault 2f350e058b Add sbt-updates 2017-05-15 15:32:49 +02:00
Alexandre Archambault 67b3b06895
Updates for 1.0.0-RC3 2017-05-12 13:18:38 +02:00
Eugene Yokota 3724277704 migrate ForkOptions to Contraband 2017-05-12 05:22:08 -04:00
Dale Wijnand 0b33c195ef
Upgrade the build to sbt 1.0.0-M5
Some plugins remain commented out, for now.

sbt-doge is no longer needed because a variant of it has been folded
into sbt 1.

For some reason scripted requires src/doc jars of sbt, so switch back to
using `publishAll` rather than `publishLocalBinAll`. :(

Also, the sys.prop change in scripted is to force log4j2 to not use a
thread context classloader, and avoid the following:

    ERROR StatusLogger Unable to create custom ContextSelector. Falling back to default.
     java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.async.AsyncLoggerContextSelector to org.apache.logging.log4j.core.selector.ContextSelector
    	at java.lang.Class.cast(Class.java:3369)
    	at org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOf(LoaderUtil.java:201)
    	at org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOfProperty(LoaderUtil.java:226)
    	at org.apache.logging.log4j.core.impl.Log4jContextFactory.createContextSelector(Log4jContextFactory.java:97)
    	at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:58)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    	at java.lang.Class.newInstance(Class.java:442)
    	at org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:94)
    	at org.apache.logging.log4j.spi.ThreadContextMapFactory.createThreadContextMap(ThreadContextMapFactory.java:73)
    	at org.apache.logging.log4j.ThreadContext.init(ThreadContext.java:223)
    	at org.apache.logging.log4j.ThreadContext.<clinit>(ThreadContext.java:202)
    	at org.apache.logging.log4j.core.impl.ContextDataInjectorFactory.createDefaultInjector(ContextDataInjectorFactory.java:83)
    	at org.apache.logging.log4j.core.impl.ContextDataInjectorFactory.createInjector(ContextDataInjectorFactory.java:67)
    	at org.apache.logging.log4j.core.lookup.ContextMapLookup.<init>(ContextMapLookup.java:34)
    	at org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:117)
    	at org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:125)
    	at org.apache.logging.log4j.core.config.DefaultConfiguration.<init>(DefaultConfiguration.java:46)
    	at org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:650)
    	at org.apache.logging.log4j.core.layout.PatternLayout.createDefaultLayout(PatternLayout.java:487)
    	at sbt.internal.util.ConsoleAppender.<init>(ConsoleAppender.scala:245)
    	at sbt.internal.util.ConsoleAppender$.apply(ConsoleAppender.scala:196)
    	at sbt.internal.util.ConsoleLogger.<init>(ConsoleAppender.scala:42)
    	at sbt.internal.util.ConsoleLogger$.apply(ConsoleAppender.scala:34)
    	at sbt.test.ScriptedRunner.run(ScriptedTests.scala:221)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at Scripted$.doScripted(Scripted.scala:125)
    	at $0483e89d182e9d240274$.$anonfun$scriptedTask$5(build.sbt:301)
2017-05-11 09:44:42 +01:00
Dale Wijnand 55e055fa39
Upgrade to sbt-ghpages 0.6.0 2017-05-08 15:02:32 +01:00
Dale Wijnand b65dc1830e
Upgrade to sbt-bintray 0.4.0 2017-05-08 15:02:31 +01:00
Dale Wijnand ad03595584
Upgrade to sbt-site 1.2.0 2017-05-08 15:02:31 +01:00
Dale Wijnand 3a7fc6d1e5
Upgrade to sbt-git 0.9.2 2017-05-08 14:34:30 +01:00
Dale Wijnand f9e0dc0a48
Upgrade to sbt-mima 0.1.14 2017-05-08 14:16:35 +01:00
Alexandre Archambault ef13af2f0c Add required repos 2017-05-06 16:49:32 +02:00
Alexandre Archambault e98d21afc6
Updates for 1.0.0-RC2 2017-05-06 16:42:52 +02:00
Alexandre Archambault b463f5989d Switch to scala-js 0.6.16 2017-04-29 17:38:23 +02:00
jvican d42ea869d0
Apply formatting 2017-04-26 22:55:38 +02:00
jvican 712c83f859
Configure scalafmt and disable scalariform 2017-04-26 22:53:17 +02:00
Alexandre Archambault d27cec6839 Check Travis status 2017-04-24 21:09:11 +02:00
Alexandre Archambault c59648bd80 Use sbt-release 2017-04-24 21:09:11 +02:00
Alexandre Archambault 7e2593a293 Rework plugins.sbt 2017-04-24 20:46:22 +02:00
Eugene Yokota 9d87e6b3d4 Add Scalafmt 2017-04-21 03:11:48 -04:00
Alexandre Archambault c7eb333d06 Switch to sbt-coursier 1.0.0-RC1 2017-04-08 18:41:26 +02:00
Dale Wijnand 0dcb57b587
Remove warnings in the build setup 2017-03-29 14:43:41 +01:00
Eugene Yokota 180bdfd129 Bump underlying modules to latest 2017-03-23 12:41:24 -04:00
Alexandre Archambault 621d0ca18e Switch to scalajs 0.6.15 2017-03-21 15:01:02 +01:00
Eugene Yokota 016db588d4 sbt-contraband 0.3.0-M4 2017-03-17 23:03:37 -04:00
Alexandre Archambault 2bc1aebba5 Switch to sbt-coursier / sbt-shading 1.0.0-M15-5
Should not require pulling a custom version of jarjar
2017-03-10 10:31:13 +01:00
Dale Wijnand 31a7407640
Remove build warnings
Also collapse into one meta-build sbt file.. imo a better alternative
toa adding a 5th single-line sbt file.
2017-03-02 14:42:36 +01:00
Alexandre Archambault 112638582f Shade fastparse 2017-02-28 15:09:18 +01:00
Alexandre Archambault ab319b164f Shade jarjar into sbt-shading 2017-02-28 14:46:58 +01:00
Alexandre Archambault d0bcc77d25 Switch to sbt-coursier 1.0.0-M15-2 2017-02-28 14:26:35 +01:00
Alexandre Archambault b65a76136f Switch to sbt-mima 0.1.13, update mima settings
In particular, check compatibility only against current latest version

New issues unearthed after mima plugin version bump
2017-01-31 16:22:16 +01:00
Alexandre Archambault 98a4e6e617 Bump plugin dependencies 2017-01-31 16:22:16 +01:00
Eugene Yokota 8c9dfda089 Split log output per channel
LogManager implementation is modified to use ManagedLogger, which can swap out backing Appenders without re-creating the log instance.

The State was also changed to track `currentCommand: Option[Exec]`. `Exec` knows the origin of the command invocation, and using that we can now send the network-originated events only to the network clients.

Combined together, this implements log splitting between the sbt clients (channels).
2017-01-13 03:00:02 -05:00
Dale Wijnand 43821667bf
Upgrade scalariform version 2016-12-11 12:13:11 +00:00
Alexandre Archambault 9bc85b86e7
Bump dependencies for 2.12.0 2016-11-02 20:47:27 +01:00
Alexandre Archambault 4b14215c33
Prepare build.sbt for 2.12, keep updating dependencies 2016-10-22 22:25:01 +02:00
Lars Hupel f59a6c44c3 dependency updates in preparation for Scala 2.12.x 2016-10-21 21:50:49 +02:00
Alexandre Archambault 34d04fe45e Switch to sbt-coursier 1.0.0-M14 2016-09-07 14:24:59 +02:00
Alexandre Archambault 8cf5bbe1cc
Switch to sbt-coursier 1.0.0-M13 2016-08-15 19:00:09 +02:00
Alexandre Archambault 419ff74a98
Switch to scala-js 0.6.11 2016-08-04 17:42:21 -04:00
Alexandre Archambault ea59ff6974
Update dependencies 2016-06-19 18:11:20 +02:00
Alexandre Archambault ed631ca8b2
Updates for 1.0.0-M11 2016-04-19 22:13:21 +02:00
Alexandre Archambault 1e18b320dd Switch to sbt-coursier 1.0.0-M10 2016-04-05 17:08:51 +02:00
Alexandre Archambault 3ff49d92fa Switch to scala JS 0.6.8 2016-04-05 17:07:20 +02:00
Alexandre Archambault e634e108cf Add basic scripted test 2016-04-01 01:11:48 +02:00
Alexandre Archambault 29f8d49c83 Switch to scala 2.11.8, SBT scala-js 0.6.7 2016-03-14 16:20:20 +01:00
Alexandre Archambault e07cb05194 Update coursier SBT plugin 2016-02-24 20:42:12 +01:00
Alexandre Archambault f19288bafb Add MIMA SBT plugin, aiming at binary compatibility as of 1.0.0-M8 2016-02-16 01:03:18 +01:00
Alexandre Archambault fc237d61ad Build standalone launcher from SBT 2016-02-07 13:29:39 +01:00
Alexandre Archambault ce8fb17fd1 Remove sbt-release plugin 2016-01-27 11:45:36 +01:00
Alexandre Archambault b248524e65 Switch to coursier-sbt-plugin 1.0.0-M4 2016-01-17 21:52:30 +01:00
Dale Wijnand 0429fc82b0 Add sbt-mima. Fixes #2037. 2016-01-16 23:12:17 +00:00
Dale Wijnand de10d81f07 Upgrade sbt plugins. Fixes #2368
Cherry-picked 84cba9669c from branch 0.13 to 1.0.x

Tested manually:

  $ grep 'version.*:=' build.sbt
  version := "0.13.10-SNAPSHOT",
  $ git archive --prefix=sbt-0.13.10-SNAPSHOT/ -o ~/Desktop/sbt-0.13.10-SNAPSHOT.tgz HEAD
  $ cd ~/Desktop
  $ ls
  sbt-0.13.10-SNAPSHOT.tgz
  $ tar xfz sbt-0.13.10-SNAPSHOT.tgz
  $ cd sbt-0.13.10-SNAPSHOT/
  $ sbt info
  [info] Loading global plugins from /Users/dnw/.dotfiles/.sbt/0.13/plugins
  [info] Loading project definition from /Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/project
  [info] Updating {file:/Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/project/}sbt-0-13-10-snapshot-build...
  [info] Resolving org.fusesource.jansi#jansi;1.4 ...
  [info] Done updating.
  [warn] There may be incompatibilities among your library dependencies.
  [warn] Here are some of the libraries that were evicted:
  [warn]  * com.typesafe.sbt:sbt-site:0.8.1 -> 0.8.2
  [warn] Run 'evicted' to see detailed eviction warnings
  [info] Compiling 12 Scala sources to /Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/project/target/scala-2.10/sbt-0.13/classes...
  [info] This is sbt 0.13.9
  [info] The current project is {file:/Users/dnw/Desktop/sbt-0.13.10-SNAPSHOT/}sbtRoot 0.13.10-SNAPSHOT
  [info] The current project is built against Scala 2.10.6
  [info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin...
  [info] sbt, sbt plugins, and build definitions are using Scala 2.10.5
2016-01-16 12:19:09 +00:00
Alexandre Archambault d248969f48 Enable plugin in our own build 2016-01-02 18:15:28 +01:00
Alexandre Archambault 799179e74d Add tut support 2015-12-30 01:34:32 +01:00
Alexandre Archambault 4657991531 Pure Java launcher (size ~5 MB -> 8 kB) 2015-11-28 17:41:00 +01:00
Alexandre Archambault a6091c3df1 Add bootstrap app 2015-11-21 14:23:08 +01:00
Alexandre Archambault 01ad96413e Switch to build.sbt based build definition 2015-11-21 14:23:06 +01:00
Alexandre Archambault 06a895b2cb Switch to scala 2.11.7 2015-07-07 21:26:42 +02:00
Alexandre Archambault 2435f15376 Update build 2015-07-07 20:43:18 +02:00
Alexandre Archambault 5e25748d83 Initial commit 2015-06-16 20:32:17 +02:00