aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
Commit message (Collapse)AuthorAgeFilesLines
* Add workspace pluginJakob Odersky2018-08-171-1/+0
|
* Apply launch script customizationas after bash pluginv2.0.3Jakob Odersky2018-08-091-1/+1
|
* Downgrade scalafmt to latest stable versionv2.0.2Jakob Odersky2018-08-091-1/+1
|
* Improve reporting of fatal warningsJakob Odersky2018-07-021-1/+1
|
* Refactor settings to use autoplugins (#4)Jakob Odersky2018-06-291-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Overview and motivation** This consolidates settings that were previously implemented as functions and/or implicit conversions into a suite of sbt autoplugins. The rationale is that this is well-defined pattern by sbt and allows easy build introspection with standard sbt functionality (for example, `sbt plugins` will list all active plugins in a build). Furthermore, it makes it very easy to disable certain features when required, such as removing linting during development. **Migration from current version** All features from the previous version should still be provided by the changes proposed here. The migration path is quite straight-forward: - Replace `project.driverService(name)` with `project.enablePlugins(Service)` (same goes for libraries) and make sure the project's name corresponds to the service's name - Linting, which was previously enabled by adding `lintingSettings` and `formatSettings` to a project, is automatically enabled. It may be removed by disabling the plugin: `project.dsiablePlugin(Linting)` All tasks and settings provided by sbt-settings should remain the same. **Additional features** An additional feature is that versioning is now handled the same way between libraries and services; that is, the version is derived from the latest git tag. Since services may be deployed from the same tag mutliple times, it is required that versions can be explicitly set to include additional information, such as a build number from a CI system. This was previously done interactively, using sbt's `set` command: ``` export TAG="$(sbt -no-colors version | tail -1 | awk '{ print $2 }').$TRAVIS_BUILD_NUMBER" sbt "set version := \"$TAG\"" docker:publishLocal ``` While this approach works, it has the downsides of requiring mutliple sbt invocations. The changes proposed in this PR will read the version from a VERSION environment variable first, defaulting to git if unavailable. Therefore, the additional sbt invocation can be removed with a CI script similar to the following: ``` export VERSION="$(git describe).$TRAVIS_BUILD_NUMBER"" sbt docker:publishLocal // use version in other steps ``` Using an autoplugin-based approach may also make it easier to cross-compile projects to ScalaJS and Native in the future, as support for them is built into sbt-crossproject.
* Set up continuous deploymentv1.0.10Jakob Odersky2018-05-031-12/+1
|
* Add SBT plugin repo resolver (for native-packager on 2.12) (#32)v1.0.9Sergey Nastich2018-04-241-0/+5
| | | | | * Add SBT plugin repo resolver (for native-packager on 2.12) * Add javax.activation dependency for docker plugin and JDK9
* Update sbt-settings dependencies versions (#28)Miguel Cervera2017-12-121-3/+3
| | | | * Update versions of dependencies
* Setting version to 1.0.5v1.0.5Jakob Odersky2017-11-191-1/+1
|
* Remove credentialsJakob Odersky2017-11-181-2/+0
|
* Move to sbt 1Jakob Odersky2017-09-221-15/+9
|
* Bump neo-sbt-scalafmt to 1.6Zach Smith2017-06-201-1/+1
|
* Add scalafmt to testZach Smith2017-06-201-1/+0
|
* Try out new-sbt-scalafmtZach Smith2017-06-201-1/+2
|
* Refactor the sbt release behavior for servicesHao Huang2017-05-031-12/+11
|
* Changing Docker user to rootvlad2017-04-281-1/+1
|
* Generating files from resources and actually making new scalafmt workvlad2017-04-261-2/+2
|
* Upgrade sbt assembly pluginHao Huang2017-03-081-1/+1
|
* Rollback scalafmtvlad2016-11-161-1/+1
|
* Different options for Scala consolevlad2016-11-141-1/+1
|
* update scalafmtStewart Stewart2016-10-101-1/+1
|
* Plugin's own organization changed to xyz.drivervlad2016-09-141-1/+1
|
* Proper docker configurationvlad2016-09-141-2/+2
|
* Turned off Docker in plugin for debugvlad2016-09-131-2/+2
|
* Publish Maven style = true for successful plugin resolution + Version 0.3.0 ↵vlad2016-08-091-1/+1
| | | | release
* Usage of the Artifactory for publication and artifacts lookupvlad2016-08-091-1/+9
|
* Sbt plugin with common sbt configurationsvlad2016-08-081-0/+25