Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor settings to use autoplugins (#4) | Jakob Odersky | 2018-06-29 | 16 | -476/+350 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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. | ||||
* | Add code ownership statement (#2) | Jakob Odersky | 2018-06-12 | 1 | -0/+8 |
| | | | [ci skip] | ||||
* | Remove style check for method names (#1)v1.0.11 | Jakob Odersky | 2018-05-21 | 1 | -6/+0 |
| | |||||
* | Add version badge | Jakob Odersky | 2018-05-03 | 1 | -1/+2 |
| | |||||
* | Add developing instructions | Jakob Odersky | 2018-05-03 | 1 | -0/+5 |
| | |||||
* | Update travis badge | Jakob Odersky | 2018-05-03 | 1 | -1/+1 |
| | |||||
* | Set up continuous deploymentv1.0.10 | Jakob Odersky | 2018-05-03 | 9 | -32/+77 |
| | |||||
* | Update readme | Jakob Odersky | 2018-04-24 | 1 | -27/+10 |
| | |||||
* | Setting version to 1.0.10-SNAPSHOT | Sergey Nastich | 2018-04-24 | 1 | -1/+1 |
| | |||||
* | Add SBT plugin repo resolver (for native-packager on 2.12) (#32)v1.0.9 | Sergey Nastich | 2018-04-24 | 2 | -1/+6 |
| | | | | | * Add SBT plugin repo resolver (for native-packager on 2.12) * Add javax.activation dependency for docker plugin and JDK9 | ||||
* | Setting version to 1.0.9-SNAPSHOT | Jakob Odersky | 2018-02-15 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.8v1.0.8 | Jakob Odersky | 2018-02-15 | 1 | -1/+1 |
| | |||||
* | Remove acyclic | Jakob Odersky | 2018-02-15 | 1 | -2/+0 |
| | |||||
* | Move fatal warnings check from plugin to settings | Jakob Odersky | 2018-02-15 | 2 | -31/+15 |
| | |||||
* | Add fatal warnings checking that doesn't consider deprecations | Jakob Odersky | 2018-02-14 | 2 | -1/+31 |
| | |||||
* | Enable JMX | Jakob Odersky | 2018-02-13 | 1 | -9/+7 |
| | |||||
* | Remove library dependencies from sbt settings | Jakob Odersky | 2018-02-13 | 1 | -4/+0 |
| | |||||
* | Remove last remnants of Scala 2.11 | Jakob Odersky | 2018-02-13 | 1 | -19/+7 |
| | |||||
* | Setting version to 1.0.8-SNAPSHOT | Jakob Odersky | 2018-01-24 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.7v1.0.7 | Jakob Odersky | 2018-01-24 | 1 | -1/+1 |
| | |||||
* | Only build for scala 2.12; 2.11 is not required anymore | Jakob Odersky | 2018-01-24 | 1 | -1/+1 |
| | |||||
* | Update sbt-settings dependencies versions (#28) | Miguel Cervera | 2017-12-12 | 2 | -5/+5 |
| | | | | * Update versions of dependencies | ||||
* | Setting version to 1.0.7-SNAPSHOT | Jakob Odersky | 2017-11-19 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.6v1.0.6 | Jakob Odersky | 2017-11-19 | 1 | -1/+1 |
| | |||||
* | Fix unused parameters flag for scala 2.12.4 | Jakob Odersky | 2017-11-19 | 1 | -1/+1 |
| | | | | See https://github.com/scala/bug/issues/10572 | ||||
* | Setting version to 1.0.6-SNAPSHOT | Jakob Odersky | 2017-11-19 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.5v1.0.5 | Jakob Odersky | 2017-11-19 | 5 | -39/+24 |
| | |||||
* | Setting version to 1.0.5-SNAPSHOT | Jakob Odersky | 2017-11-18 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.4v1.0.4 | Jakob Odersky | 2017-11-18 | 1 | -1/+1 |
| | |||||
* | Remove credentials | Jakob Odersky | 2017-11-18 | 2 | -7/+3 |
| | |||||
* | Setting version to 1.0.4-SNAPSHOT | Jakob Odersky | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.3v1.0.3 | Jakob Odersky | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Upgrade Scala version | Jakob Odersky | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.3-SNAPSHOT | Miguel Cervera | 2017-10-17 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.2v1.0.2 | Miguel Cervera | 2017-10-17 | 1 | -1/+1 |
| | |||||
* | Proposed scalafmt settings (#26) | Miguel Cervera | 2017-10-17 | 2 | -7/+32 |
| | |||||
* | Update README.md | Vlad Uspensky | 2017-10-13 | 1 | -3/+3 |
| | |||||
* | Setting version to 1.0.2-SNAPSHOT | Jakob Odersky | 2017-09-22 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.1v1.0.1 | Jakob Odersky | 2017-09-22 | 1 | -1/+1 |
| | |||||
* | More lenient linter settings | Jakob Odersky | 2017-09-22 | 1 | -8/+21 |
| | |||||
* | Setting version to 1.0.1-SNAPSHOT | Jakob Odersky | 2017-09-22 | 1 | -1/+1 |
| | |||||
* | Setting version to 1.0.0v1.0.0 | Jakob Odersky | 2017-09-22 | 1 | -1/+1 |
| | |||||
* | Move to sbt 1 | Jakob Odersky | 2017-09-22 | 5 | -67/+48 |
| | |||||
* | Setting version to 0.8.2-SNAPSHOT | Jakob Odersky | 2017-09-01 | 1 | -1/+1 |
| | |||||
* | Setting version to 0.8.1v0.8.1 | Jakob Odersky | 2017-09-01 | 1 | -1/+1 |
| | |||||
* | Include test dependencies in integration tests | Jakob Odersky | 2017-09-01 | 3 | -56/+56 |
| | |||||
* | Setting version to 0.8.1-SNAPSHOT | Jakob Odersky | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | Setting version to 0.8.0v0.8.0 | Jakob Odersky | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | Package integration tests | Jakob Odersky | 2017-08-28 | 1 | -0/+86 |
| | |||||
* | Setting version to 0.7.42-SNAPSHOT | Jakob Odersky | 2017-08-25 | 1 | -1/+1 |
| |