I decided to speed this up a bit by doing most of the necessary migrations.
sources updated to be both sbt 1.0 and 0.13 compatible where possible
added an apiAdapter for the few cases where a compatibility shim is needed
changed Plugin to AutoPlugin - this makes it incompatible with sbt versions earlier than 0.13.15, but only when used as plugin rather than with the apply command
build updates:
allow cross-building to 0.13 and 1.0. Run a compile against a specific version like this on the sbt shell: ^^ 0.13.16 compile or ^^ 1.0.0-RC3 compile, or cross-compile against both with ^ compile
removed sbt-assembly as it is not needed unless you need to include dependencies directly in the published jar
added sbt-dynver plugin for versioning. Makes it easier to publish artifacts with versions based on git hash or git tag, which makes development easier by providing snapshots with stable versions
TODO sbt 1.0 changes the type of extraLoggers to use a log4j appender directly. So that needs to be created, and it wasn't directly clear to me what it needs to do, so I just created the stubs for it in apiAdapter
I decided to speed this up a bit by doing most of the necessary migrations.
apiAdapter
for the few cases where a compatibility shim is neededapply
command^^ 0.13.16 compile
or^^ 1.0.0-RC3 compile
, or cross-compile against both with^ compile
TODO sbt 1.0 changes the type of
extraLoggers
to use a log4j appender directly. So that needs to be created, and it wasn't directly clear to me what it needs to do, so I just created the stubs for it inapiAdapter