aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Refactor settings to use autopluginsv2.0.0-RC1jo/pluginsJakob Odersky2018-06-1216-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.
* Remove style check for method names (#1)v1.0.11Jakob Odersky2018-05-211-6/+0
|
* Add version badgeJakob Odersky2018-05-031-1/+2
|
* Add developing instructionsJakob Odersky2018-05-031-0/+5
|
* Update travis badgeJakob Odersky2018-05-031-1/+1
|
* Set up continuous deploymentv1.0.10Jakob Odersky2018-05-039-32/+77
|
* Update readmeJakob Odersky2018-04-241-27/+10
|
* Setting version to 1.0.10-SNAPSHOTSergey Nastich2018-04-241-1/+1
|
* Add SBT plugin repo resolver (for native-packager on 2.12) (#32)v1.0.9Sergey Nastich2018-04-242-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-SNAPSHOTJakob Odersky2018-02-151-1/+1
|
* Setting version to 1.0.8v1.0.8Jakob Odersky2018-02-151-1/+1
|
* Remove acyclicJakob Odersky2018-02-151-2/+0
|
* Move fatal warnings check from plugin to settingsJakob Odersky2018-02-152-31/+15
|
* Add fatal warnings checking that doesn't consider deprecationsJakob Odersky2018-02-142-1/+31
|
* Enable JMXJakob Odersky2018-02-131-9/+7
|
* Remove library dependencies from sbt settingsJakob Odersky2018-02-131-4/+0
|
* Remove last remnants of Scala 2.11Jakob Odersky2018-02-131-19/+7
|
* Setting version to 1.0.8-SNAPSHOTJakob Odersky2018-01-241-1/+1
|
* Setting version to 1.0.7v1.0.7Jakob Odersky2018-01-241-1/+1
|
* Only build for scala 2.12; 2.11 is not required anymoreJakob Odersky2018-01-241-1/+1
|
* Update sbt-settings dependencies versions (#28)Miguel Cervera2017-12-122-5/+5
| | | | * Update versions of dependencies
* Setting version to 1.0.7-SNAPSHOTJakob Odersky2017-11-191-1/+1
|
* Setting version to 1.0.6v1.0.6Jakob Odersky2017-11-191-1/+1
|
* Fix unused parameters flag for scala 2.12.4Jakob Odersky2017-11-191-1/+1
| | | | See https://github.com/scala/bug/issues/10572
* Setting version to 1.0.6-SNAPSHOTJakob Odersky2017-11-191-1/+1
|
* Setting version to 1.0.5v1.0.5Jakob Odersky2017-11-195-39/+24
|
* Setting version to 1.0.5-SNAPSHOTJakob Odersky2017-11-181-1/+1
|
* Setting version to 1.0.4v1.0.4Jakob Odersky2017-11-181-1/+1
|
* Remove credentialsJakob Odersky2017-11-182-7/+3
|
* Setting version to 1.0.4-SNAPSHOTJakob Odersky2017-10-261-1/+1
|
* Setting version to 1.0.3v1.0.3Jakob Odersky2017-10-261-1/+1
|
* Upgrade Scala versionJakob Odersky2017-10-261-1/+1
|
* Setting version to 1.0.3-SNAPSHOTMiguel Cervera2017-10-171-1/+1
|
* Setting version to 1.0.2v1.0.2Miguel Cervera2017-10-171-1/+1
|
* Proposed scalafmt settings (#26)Miguel Cervera2017-10-172-7/+32
|
* Update README.mdVlad Uspensky2017-10-131-3/+3
|
* Setting version to 1.0.2-SNAPSHOTJakob Odersky2017-09-221-1/+1
|
* Setting version to 1.0.1v1.0.1Jakob Odersky2017-09-221-1/+1
|
* More lenient linter settingsJakob Odersky2017-09-221-8/+21
|
* Setting version to 1.0.1-SNAPSHOTJakob Odersky2017-09-221-1/+1
|
* Setting version to 1.0.0v1.0.0Jakob Odersky2017-09-221-1/+1
|
* Move to sbt 1Jakob Odersky2017-09-225-67/+48
|
* Setting version to 0.8.2-SNAPSHOTJakob Odersky2017-09-011-1/+1
|
* Setting version to 0.8.1v0.8.1Jakob Odersky2017-09-011-1/+1
|
* Include test dependencies in integration testsJakob Odersky2017-09-013-56/+56
|
* Setting version to 0.8.1-SNAPSHOTJakob Odersky2017-08-281-1/+1
|
* Setting version to 0.8.0v0.8.0Jakob Odersky2017-08-281-1/+1
|
* Package integration testsJakob Odersky2017-08-281-0/+86
|
* Setting version to 0.7.42-SNAPSHOTJakob Odersky2017-08-251-1/+1
|
* Setting version to 0.7.41v0.7.41Jakob Odersky2017-08-251-1/+1
|